aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPhil Edworthy <phil.edworthy@renesas.com>2022-05-12 19:45:58 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-05-16 18:34:36 +0200
commit6879854d16341ab67d61580fa988ad1b7e7cc040 (patch)
tree9faf8b05e3d9ffc6949c29cc37829497a75084a4 /net
parentmtd: nand: MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK (diff)
downloadlinux-dev-6879854d16341ab67d61580fa988ad1b7e7cc040.tar.xz
linux-dev-6879854d16341ab67d61580fa988ad1b7e7cc040.zip
mtd: rawnand: rockchip: Check before clk_disable_unprepare() not needed
All code in clk_disable_unprepare() already checks the clk ptr using IS_ERR_OR_NULL so there is no need to check it again before calling it. A lot of other drivers already rely on this behaviour, so it's safe to do so here. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220512184558.45966-1-phil.edworthy@renesas.com
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions