diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2016-03-01 17:38:46 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-03-09 10:46:50 +0700 |
commit | 331207af11964954f51ec44689b93977ac0c6843 (patch) | |
tree | 3ca439940f60ec303e40ba07f4c566aa33564013 /drivers/pinctrl/pinctrl-at91-pio4.c | |
parent | 1233a1fbb0e0efab91458bfdf744dcef6bf0f615 (diff) | |
download | lwn-331207af11964954f51ec44689b93977ac0c6843.tar.gz lwn-331207af11964954f51ec44689b93977ac0c6843.zip |
pinctrl: sh-pfc: core: don't open code of_device_get_match_data()
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 <wsa+renesas@sang-engineering.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91-pio4.c')
0 files changed, 0 insertions, 0 deletions