提交 098ec84f 编写于 作者: B Bartosz Golaszewski 提交者: Greg Kroah-Hartman

nvmem: lpc18xx_eeprom: remove unused variable

Remove a variable that's no longer used from lpc18xx_eeprom_remove().
Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册