Re: [PATCH v3 08/10] intel_mid: Added custom handler for ipc devices

From: David Cohen
Date: Mon Oct 14 2013 - 12:30:30 EST


On 10/14/2013 09:04 AM, H. Peter Anvin wrote:
On 10/11/2013 08:43 PM, David Cohen wrote:
+
+ /*
+ * We need to call platform init of IPC devices to fill misc_pdata
+ * structure. It will be used in msic_init for initialization.
+ */
+ if (dev != NULL)
+ pdata = dev->get_platform_data(pentry);
+

The Linux style usually prefers:

if (dev)

Thanks. I'll change it on next patch set.

Br, David Cohen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/