mfd: ti-lmu: Use of_device_get_match_data() helper
authorPavel Machek <pavel@ucw.cz>
Tue, 11 Sep 2018 21:06:50 +0000 (23:06 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 23 Oct 2018 07:58:34 +0000 (08:58 +0100)
commit697894b9b8478764d59e1e1ae6caa4e9dd11eb51
tree60b9d19602e0c2a4e8f3bcd0ba160cac607e7481
parent7891d37509cca01f383e8349831ee0adc0724e77
mfd: ti-lmu: Use of_device_get_match_data() helper

Replace of_match_device() with of_device_get_match_data(), which
slightly decreases lines of code and allows to move the DT table
next to the I2C table.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ti-lmu.c