diff options
author | Armin Wolf <W_Armin@gmx.de> | 2021-05-08 15:14:57 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-06-17 04:21:44 -0700 |
commit | 5c1c78e0a0a2f37de0b05851878af8e02eeae02f (patch) | |
tree | a0962a64c1aa939d9cfaa1974fd3ea14dd07e3b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 989c9c675bbbf3264b42b05e8924a9930b500e6c (diff) |
hwmon: (sch56xx-common) Simplify sch56xx_device_add
Use platform_device_register_simple() instead of
manually calling platform_device_alloc()/platform_device_add().
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20210508131457.12780-5-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions