lkml.org 
[lkml]   [2013]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 08/10] intel_mid: Added custom handler for ipc devices
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)
...


-hpa




\
 
 \ /
  Last update: 2013-10-14 18:41    [W:0.138 / U:6.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site