On Sunday 21 February 2016 07:27 PM, Wolfram Sang wrote:
From: Wolfram Sang <wolfram@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
---
Compile tested only; HW test would be much appreciated!
Tested on Jetson-TX1.
Acked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
Tested-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
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.
Thanks,
Laxman
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html