mfd: da9052: Simplify getting of_device_id match data
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 26 May 2021 12:47:01 +0000 (08:47 -0400)
committerLee Jones <lee.jones@linaro.org>
Wed, 2 Jun 2021 09:51:17 +0000 (10:51 +0100)
commit8b201402ea027e44fbe66933a4912b647fd35e89
tree1d30b3ea7bcf026292f48dc4e9c6d47995976ee4
parentfac61e6931d18929d9e69f4e0a48f5529c21f2e7
mfd: da9052: Simplify getting of_device_id match data

Use of_device_get_match_data() to make the code slightly smaller.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9052-i2c.c