diff options
author | Luka Perkov <luka@openwrt.org> | 2014-08-08 13:38:31 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-08-08 13:38:31 +0000 |
commit | c84876702bd726ec9fd58ffa3a21c95173d2ea6b (patch) | |
tree | ae7b5252454a565bf1789b4c80c76fe81aad69a2 /target/linux/imx6/patches-3.10/0023-regulator-pfuze100-Use-i2c_-set-get-_clientdata.patch | |
parent | 4c2c390a239d005aadf5629e4b8b09717e1e5df5 (diff) | |
download | upstream-c84876702bd726ec9fd58ffa3a21c95173d2ea6b.tar.gz upstream-c84876702bd726ec9fd58ffa3a21c95173d2ea6b.tar.bz2 upstream-c84876702bd726ec9fd58ffa3a21c95173d2ea6b.zip |
imx6: drop 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42075
Diffstat (limited to 'target/linux/imx6/patches-3.10/0023-regulator-pfuze100-Use-i2c_-set-get-_clientdata.patch')
-rw-r--r-- | target/linux/imx6/patches-3.10/0023-regulator-pfuze100-Use-i2c_-set-get-_clientdata.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/imx6/patches-3.10/0023-regulator-pfuze100-Use-i2c_-set-get-_clientdata.patch b/target/linux/imx6/patches-3.10/0023-regulator-pfuze100-Use-i2c_-set-get-_clientdata.patch deleted file mode 100644 index 609ed05b20..0000000000 --- a/target/linux/imx6/patches-3.10/0023-regulator-pfuze100-Use-i2c_-set-get-_clientdata.patch +++ /dev/null @@ -1,32 +0,0 @@ -From: Axel Lin <axel.lin@ingics.com> -Subject: [PATCH] regulator: pfuze100: Use i2c_[set|get]_clientdata - -Since this is a i2c driver, use i2c_[set|get]_clientdata instead of -dev_[set|get]_drvdata. - -Signed-off-by: Axel Lin <axel.lin@ingics.com> -Signed-off-by: Mark Brown <broonie@linaro.org> ---- - drivers/regulator/pfuze100-regulator.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/drivers/regulator/pfuze100-regulator.c -+++ b/drivers/regulator/pfuze100-regulator.c -@@ -360,7 +360,7 @@ static int pfuze100_regulator_probe(stru - if (!pfuze_chip) - return -ENOMEM; - -- dev_set_drvdata(&client->dev, pfuze_chip); -+ i2c_set_clientdata(client, pfuze_chip); - - memcpy(pfuze_chip->regulator_descs, pfuze100_regulators, - sizeof(pfuze_chip->regulator_descs)); -@@ -429,7 +429,7 @@ static int pfuze100_regulator_probe(stru - static int pfuze100_regulator_remove(struct i2c_client *client) - { - int i; -- struct pfuze_chip *pfuze_chip = dev_get_drvdata(&client->dev); -+ struct pfuze_chip *pfuze_chip = i2c_get_clientdata(client); - - for (i = 0; i < PFUZE100_MAX_REGULATOR; i++) - regulator_unregister(pfuze_chip->regulators[i]); |