diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-09-01 11:44:47 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-09-18 11:35:26 +0100 |
commit | 79383aaec47a0ea0df49728ad0b8e72c4ac58fd0 (patch) | |
tree | f2b90f058fb9952759d911dc621c58908156596e /lib/raid6 | |
parent | 2bb4a02aad0257148be4f51e3b4c9c0077787e17 (diff) | |
download | linux-79383aaec47a0ea0df49728ad0b8e72c4ac58fd0.tar.gz linux-79383aaec47a0ea0df49728ad0b8e72c4ac58fd0.tar.bz2 linux-79383aaec47a0ea0df49728ad0b8e72c4ac58fd0.zip |
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 'lib/raid6')
0 files changed, 0 insertions, 0 deletions