summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2026-02-05 16:12:07 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-04 00:20:01 +0300
commit042d1244786ce713da25ea26cce71e7e90be7580 (patch)
treeac961be684d1236e76796263fb9117f7340711ff /include/linux/root_dev.h
parent7affc01b317819eb426f6c0aa2fd98be73080b75 (diff)
downloadlinux-042d1244786ce713da25ea26cce71e7e90be7580.tar.xz
iio: sca3000: reuse device pointer for devm helpers
Cache struct device *dev and feed it to the devm helpers to simplify the probe function. No functional changes. Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions