diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-12-07 15:09:31 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-01-02 17:44:57 +0100 |
commit | 581076958ee6455588fe3d3368d5e0db3c2d0c69 (patch) | |
tree | d2e0990564e1dcbbe6868f38992ee2bc3a80fd9f /security/tomoyo | |
parent | hwmon: (smsc47m1) Convert to platform remove callback returning void (diff) | |
download | linux-581076958ee6455588fe3d3368d5e0db3c2d0c69.tar.xz linux-581076958ee6455588fe3d3368d5e0db3c2d0c69.zip |
hwmon: (smsc47m1) Simplify device registration
Use platform_device_register_full() instead of open coding this
function.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/ab326fb9b1ad2191583b4cb3a8bd624dfedb908e.1701957841.git.u.kleine-koenig@pengutronix.de
[groeck: Removed double empty line]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions