aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorJagath Jog J <jagathjog1996@gmail.com>2022-05-05 19:00:14 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-11 14:35:26 +0100
commit12c99f859fd3da5fc8f8491826e7023001f54821 (patch)
tree75895daed8f94afefd3b0c81cd4aa23db6768a71 /net/ipv6/tcp_ipv6.c
parent1bd2dc6ea863690aee5c45ebf09c9194c7a42c0d (diff)
iio: accel: bma400: conversion to device-managed function
This is a conversion to device-managed by using devm_iio_device_register() inside probe function. Previously the bma400 was not put into power down mode in some error paths in probe where it now is, but that should cause no harm. The dev_set_drvdata() call, bma400_remove() function and hooks in the I2C and SPI driver struct is removed as devm_iio_device_register() function is used to automatically unregister on driver detach. Signed-off-by: Jagath Jog J <jagathjog1996@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220505133021.22362-4-jagathjog1996@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions