Re: [PATCH] i2c: tegra: don't open code of_device_get_match_data()

Wolfram Sang
2016-02-24T10:26:31Z

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

> >This change will also make Coverity happy by avoiding a theoretical NULL
> >pointer dereference; yet another reason is to use the above helper function
> >to tighten the code and make it more readable.
> >
> >Signed-off-by: Wolfram Sang <wolfram-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
> >---
> >
> >Compile tested only; HW test would be much appreciated!
>
> Tested on Jetson-TX1.

Thanks!

> There is some more cleanups needed on this driver i.e. do not support
> non-DT, move the of_table to down etc. I like to post follow up post after
> this is applied.

Please do. This is applied now, I'll push out later today.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]