aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2018-03-11 11:25:49 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-15 14:37:04 +0100
commitc8ae1674cd0d688661a8b85b8b2d940516933322 (patch)
treeb663b1e6fe1085a0eed8303920537234fec895a4 /tools/perf/scripts/python
parentbase: soc: use put_device() instead of kfree() (diff)
downloadwireguard-linux-c8ae1674cd0d688661a8b85b8b2d940516933322.tar.xz
wireguard-linux-c8ae1674cd0d688661a8b85b8b2d940516933322.zip
driver core: platform: use put_device() if device_register fail
if device_register() returned an error! Always use put_device() to give up the reference initialized. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions