Re: [PATCH] pinctrl: sh-pfc: core: don't open code of_device_get_match_data()

2016-03-08 Thread Linus Walleij
On Tue, Mar 1, 2016 at 11:38 PM, Wolfram Sang wrote: > From: Wolfram Sang > > 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

Re: [PATCH] pinctrl: sh-pfc: core: don't open code of_device_get_match_data()

2016-03-02 Thread Geert Uytterhoeven
On Tue, Mar 1, 2016 at 5:38 PM, Wolfram Sang wrote: > From: Wolfram Sang > > 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

[PATCH] pinctrl: sh-pfc: core: don't open code of_device_get_match_data()

2016-03-01 Thread Wolfram Sang
From: Wolfram Sang 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