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>
This commit is contained in:
Geert Uytterhoeven 2017-10-04 14:17:05 +02:00 • committed by Wolfram Sang
commit ad59c5ea7f