]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7686bf7ef5ee249aa52507a2932a4671aeb02477
tree60b9d19602e0c2a4e8f3bcd0ba160cac607e7481
parent34c078c058c715d5c07fcf02329947aab9906120
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