Commit 098ec84f authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Greg Kroah-Hartman

nvmem: lpc18xx_eeprom: remove unused variable

Remove a variable that's no longer used from lpc18xx_eeprom_remove().
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cccb3b19
...@@ -255,7 +255,6 @@ static int lpc18xx_eeprom_probe(struct platform_device *pdev) ...@@ -255,7 +255,6 @@ static int lpc18xx_eeprom_probe(struct platform_device *pdev)
static int lpc18xx_eeprom_remove(struct platform_device *pdev) static int lpc18xx_eeprom_remove(struct platform_device *pdev)
{ {
struct lpc18xx_eeprom_dev *eeprom = platform_get_drvdata(pdev); struct lpc18xx_eeprom_dev *eeprom = platform_get_drvdata(pdev);
int ret;
clk_disable_unprepare(eeprom->clk); clk_disable_unprepare(eeprom->clk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment