summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ar7part.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-11-02 18:21:04 +0100
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-11-07 14:48:40 +0100
commita1a261707b51d728d0c2b4c32630bc43a8eb33b2 (patch)
treef4e6def2949c5c844ba80905049054597cbd94d7 /drivers/mtd/ar7part.c
parentmtd: nand: add tango NAND flash controller support (diff)
downloadlinux-a1a261707b51d728d0c2b4c32630bc43a8eb33b2.tar.xz
linux-a1a261707b51d728d0c2b4c32630bc43a8eb33b2.zip
mtd: nand: denali_dt: replace clk_disable() with clk_disable_unprepare()
The denali_dt_probe() calls clk_disable_unprepare() in the bailout path, whereas denali_dt_remove calls clk_disable(), inconsistently. Replace the latter with clk_disable_unprepare() to make sure to unprepare the clock. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/ar7part.c')
0 files changed, 0 insertions, 0 deletions