diff options
| author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-08-28 17:47:46 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2023-09-11 01:31:23 +0100 |
| commit | 364a399b7ca35e8f2291ab95bff28baa6e119efe (patch) | |
| tree | 254083d3d0a118a586bc97128a870b5ba154a4a3 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) | |
regulator: fan53555: Simplify probe()
Simplify probe() by replacing of_device_get_match_data() and ID lookup for
retrieving match data by i2c_get_match_data().
While at it, use dev_fwnode() API instead of 'client->dev.of_node'.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230828164746.102992-1-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
