aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-07-01 15:41:53 +0800
committerGuenter Roeck <linux@roeck-us.net>2022-07-01 11:53:29 -0700
commitd0e51022a025ca5350fafb8e413a6fe5d4baf833 (patch)
tree082924672ec70b493e872d3b2783d17883b2c0b8 /scripts/generate_rust_analyzer.py
parenthwmon: (pmbus/ucd9200) fix typos in comments (diff)
downloadwireguard-linux-d0e51022a025ca5350fafb8e413a6fe5d4baf833.tar.xz
wireguard-linux-d0e51022a025ca5350fafb8e413a6fe5d4baf833.zip
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: 8808a793f052 ("ibmaem: new driver for power/energy/temp meters in IBM System X hardware") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20220701074153.4021556-1-yangyingliang@huawei.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions