diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-05-25 22:31:56 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-06-28 13:25:04 +0200 |
commit | 66a03c4fd9e95e192c574811a1f4ea8f62992358 (patch) | |
tree | 259235b599c4504f9296d0036ac45d1c18b6e246 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f7edeb4023efcd6494176095560ddd34f3bab006 (diff) |
pwm: crc: Simplify using devm_pwmchip_add()
With devm_pwmchip_add() we can drop pwmchip_remove() from the device
remove callback. The latter can then go away, too and as this is the
only user of platform_get_drvdata(), the respective call to
platform_set_drvdata() can go, too.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions