diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-17 13:51:18 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-17 21:14:51 +0400 |
commit | b342f0969be9291d71bd8d5142d1b7f6fe9ffc3e (patch) | |
tree | a5b9dfa43d1dac4bbd506b67aeeee39f42f4dcc4 /drivers | |
parent | 6c920bfb98d07a883918733075a4bc4287e36946 (diff) | |
download | linux-b342f0969be9291d71bd8d5142d1b7f6fe9ffc3e.tar.xz |
usb: chipidea: ci13xxx_imx: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Marek Vasut <marex@denx.de>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/chipidea/ci13xxx_imx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/ci13xxx_imx.c b/drivers/usb/chipidea/ci13xxx_imx.c index 8faec9dbbb84..b8ad556c1496 100644 --- a/drivers/usb/chipidea/ci13xxx_imx.c +++ b/drivers/usb/chipidea/ci13xxx_imx.c @@ -251,8 +251,6 @@ static int ci13xxx_imx_remove(struct platform_device *pdev) clk_disable_unprepare(data->clk); - platform_set_drvdata(pdev, NULL); - return 0; } |