diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-09-23 20:49:25 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-11-01 13:02:12 +0300 |
commit | 7ec9f1f31d8b41a0725777e220d2eb6e9d0dbc83 (patch) | |
tree | ad3f0a57353f36ae48e6f2a1c5624841c32acac1 /drivers/mfd/rsmu_core.c | |
parent | 69c3f9154553c22066108427eb24d94f1645551b (diff) | |
download | linux-7ec9f1f31d8b41a0725777e220d2eb6e9d0dbc83.tar.xz |
mfd: arizona-i2c: Simplify obtaining I2C match data
Simplify probe() by replacing device_get_match_data() and ID lookup for
retrieving match data by i2c_get_match_data(). After this drop
intializing the variable type.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230923174928.56824-2-biju.das.jz@bp.renesas.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd/rsmu_core.c')
0 files changed, 0 insertions, 0 deletions