i2c: mpc: Use device_get_match_data() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Apr 2021 22:33:24 +0000 (10:33 +1200)
committerWolfram Sang <wsa@kernel.org>
Thu, 15 Apr 2021 20:08:28 +0000 (22:08 +0200)
commit30a153815c690e7a7d98834fb17ff25166cd9b39
tree25dee32ff17b4dd8305292d52c8b17cf6117f5cb
parent66679e9b8362163a05348e73d8ddae6da7a572c5
i2c: mpc: Use device_get_match_data() helper

Use the device_get_match_data() helper instead of open coding.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mpc.c