diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-06-04 10:17:06 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-06 06:14:29 -0400 |
commit | ba9e4b4a652d01bce7299ad8ed9abb9c5701450a (patch) | |
tree | fb0aaae102e45b1ea6009b799b43b91c4ef77d22 | |
parent | 69e25c755722056b57892bebeb1892e3a6fe8774 (diff) |
spi: clps711x: Remove unnecessary platform_set_drvdata()
Drop call to platform_set_drvdata() as driver data is not used
anywhere in the driver.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/spi/spi-clps711x.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-clps711x.c b/drivers/spi/spi-clps711x.c index 4cd62f636547..ce538dad526b 100644 --- a/drivers/spi/spi-clps711x.c +++ b/drivers/spi/spi-clps711x.c | |||
@@ -184,8 +184,6 @@ static int spi_clps711x_probe(struct platform_device *pdev) | |||
184 | } | 184 | } |
185 | master->max_speed_hz = clk_get_rate(hw->spi_clk); | 185 | master->max_speed_hz = clk_get_rate(hw->spi_clk); |
186 | 186 | ||
187 | platform_set_drvdata(pdev, master); | ||
188 | |||
189 | hw->syscon = syscon_regmap_lookup_by_pdevname("syscon.3"); | 187 | hw->syscon = syscon_regmap_lookup_by_pdevname("syscon.3"); |
190 | if (IS_ERR(hw->syscon)) { | 188 | if (IS_ERR(hw->syscon)) { |
191 | ret = PTR_ERR(hw->syscon); | 189 | ret = PTR_ERR(hw->syscon); |