OSDN Git Service

i2c: sh_mobile: Use of_device_get_match_data() helper
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 Oct 2017 12:17:05 +0000 (14:17 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 17 Oct 2017 21:58:11 +0000 (23:58 +0200)
commitad59c5ea7fa88284b68721c08faf15f0e77abc0d
treed8b482f9d659f8847ae858b94859b18c346bfa57
parent5515ae112172e20667f02b16f45fbf992923dcb0
i2c: sh_mobile: Use of_device_get_match_data() helper

Use the of_device_get_match_data() helper instead of open coding.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c