summaryrefslogtreecommitdiff
path: root/drivers/mfd/da9052-i2c.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-05-26 15:47:00 +0300
committerLee Jones <lee.jones@linaro.org>2021-06-02 12:51:17 +0300
commitfac61e6931d18929d9e69f4e0a48f5529c21f2e7 (patch)
tree4fd1f5e65c5774419e659343b6a3489125b987e7 /drivers/mfd/da9052-i2c.c
parentb486413dd73ac900c6e3a5cda83f2e3f94cd2b2c (diff)
downloadlinux-fac61e6931d18929d9e69f4e0a48f5529c21f2e7.tar.xz
mfd: max8998: Simplify getting of_device_id match data
Use of_device_get_match_data() to make the code slightly smaller. There is also no need to wrap it in a check for CONFIG_OF, because dev.of_node will be set only with OF support. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/da9052-i2c.c')
0 files changed, 0 insertions, 0 deletions