Re: [PATCH] i2c: tegra: fix a possible NULL dereference

From: Wolfram Sang
Date: Sat Jan 23 2016 - 05:57:07 EST


Hi Uwe,

> That's equivalent to
>
> if (dev->of_node)
> return of_driver_match_device(dev, drv);
>
> and was already suggested in the thread referenced from my reply to
> http://article.gmane.org/gmane.linux.kernel/2083641 :-)

Did you make a proper patch out of it? Can't find it, though I also
think this would be useful.

Acked-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>

All the best,

Wolfram

Attachment: signature.asc
Description: Digital signature