summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-07-17 21:54:08 -0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 16:49:14 +0200
commitf7b8103ec33e53b73b60551ca7bb8f5350d06d6d (patch)
tree3f40b8c5e8bb0924eb5e45954d7f3f3c322d2eab /drivers/mtd
parent03fba86b63b95cf4377dd6cf8eaca9b225ed4a2d (diff)
downloadlinux-f7b8103ec33e53b73b60551ca7bb8f5350d06d6d.tar.gz
linux-f7b8103ec33e53b73b60551ca7bb8f5350d06d6d.tar.bz2
linux-f7b8103ec33e53b73b60551ca7bb8f5350d06d6d.zip
mtd: nand: vf610: Remove unneeded pinctrl_pm_select_default_state()
pinctrl_pm_select_default_state() is already the default pinctrl state and since pinctrl_pm_select_sleep_state() is not used in this driver, there is no need to explicitly call pinctrl_pm_select_default_state(). Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/vf610_nfc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/nand/vf610_nfc.c b/drivers/mtd/nand/vf610_nfc.c
index 9e496727e781..b88a0c91b455 100644
--- a/drivers/mtd/nand/vf610_nfc.c
+++ b/drivers/mtd/nand/vf610_nfc.c
@@ -34,7 +34,6 @@
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <linux/of_device.h>
-#include <linux/pinctrl/consumer.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
@@ -819,8 +818,6 @@ static int vf610_nfc_resume(struct device *dev)
struct mtd_info *mtd = dev_get_drvdata(dev);
struct vf610_nfc *nfc = mtd_to_nfc(mtd);
- pinctrl_pm_select_default_state(dev);
-
err = clk_prepare_enable(nfc->clk);
if (err)
return err;