]> git.baikalelectronics.ru Git - kernel.git/commit
can: mcp251x: Call wrapper instead of regulator_disable()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 26 Aug 2019 17:26:23 +0000 (20:26 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 3 Sep 2019 08:23:57 +0000 (10:23 +0200)
commitffbda8ec61e6818ab429561bdaa997b3087ba2ce
tree02b3ec268486c85b057cdfb0a426d38a51a31f8b
parenta29c6e3b8524d38b1a22920cfda0a1f8e47d54a2
can: mcp251x: Call wrapper instead of regulator_disable()

There is no need to check for regulator presence in the ->suspend()
since a wrapper does it for us. Due to this we may unconditionally set
AFTER_SUSPEND_POWER flag.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251x.c