Files
erofs-linux/drivers/hwmon
Yang Yingliang d0e51022a0 hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
If platform_device_add() fails, it no need to call platform_device_del(), split
platform_device_unregister() into platform_device_del/put(), so platform_device_put()
can be called separately.

Fixes: 8808a793f0 ("ibmaem: new driver for power/energy/temp meters in IBM System X hardware")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
2022-07-01 11:53:29 -07:00
..
…
2021-04-20 06:50:14 -07:00
…
…
…
…
…
…
…
…
…
…
2022-05-22 11:32:32 -07:00
…
2022-05-20 10:57:05 -07:00
…
2022-05-22 11:32:31 -07:00
2022-02-27 17:03:19 -08:00
…
…
…
…
…
…
2022-05-22 11:32:31 -07:00
…
…
2021-04-20 06:50:14 -07:00
…
2022-05-22 11:32:31 -07:00
…
…
…
…
…
…
…
…
…
…
…