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


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

Reply via email to