]> git.baikalelectronics.ru Git - kernel.git/commit
can: mscan: simplify clock enable/disable
authorZhang Changzhong <zhangchangzhong@huawei.com>
Fri, 17 Jul 2020 08:01:15 +0000 (16:01 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2020 08:13:19 +0000 (10:13 +0200)
commit7fc31ab997a53dd7129c0e71e3dc3c620bdc77b1
treeb54fed5140bb58cbc0cb88cc9e928d1d41328d49
parent2fcb9e1b98749970e6948094bf005321851f0548
can: mscan: simplify clock enable/disable

All the NULL checks are pointless, clk_*() routines already deal with
NULL just fine.

Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Link: https://lore.kernel.org/r/1594972875-27631-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/mscan/mscan.c