summaryrefslogtreecommitdiffstats
path: root/include/scsi/sg.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-09-01 11:44:47 +0200
committerJonathan Cameron <jic23@kernel.org>2016-09-18 11:35:26 +0100
commit79383aaec47a0ea0df49728ad0b8e72c4ac58fd0 (patch)
treef2b90f058fb9952759d911dc621c58908156596e /include/scsi/sg.h
parent2bb4a02aad0257148be4f51e3b4c9c0077787e17 (diff)
downloadop-kernel-dev-79383aaec47a0ea0df49728ad0b8e72c4ac58fd0.zip
op-kernel-dev-79383aaec47a0ea0df49728ad0b8e72c4ac58fd0.tar.gz
iio: accel: kxsd9: Replace "parent" with "dev"
What is passed to the .probe() and .remove() functions is technically the parent of the created IIO device but it becomes a big confusion for the head to have it named like this since it is usually clear from context the "dev" refers to the physical device, and when next adding PM callbacks a clean "struct device *dev" pointer is passed to these and that makes it even more confused. Rename "parent" to "dev" like in most other drivers. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/scsi/sg.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud