i2c: rcar: don't open code of_device_get_match_data()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 1 Mar 2016 16:36:43 +0000 (17:36 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 3 Mar 2016 21:25:23 +0000 (22:25 +0100)
commit69e558fa35418664eba9dd8e5330ad56544c9b71
treee64540fe216565d254858b396ff951e127cc1f95
parent52db223e4cf414e216890643cda33e2626554471
i2c: rcar: 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: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c
This page took 0.034842 seconds and 5 git commands to generate.