]> git.baikalelectronics.ru Git - kernel.git/commit
spi/omap100k: Convert to runtime PM
authorMark Brown <broonie@kernel.org>
Wed, 10 Dec 2014 18:16:25 +0000 (18:16 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 17 Mar 2015 12:25:48 +0000 (12:25 +0000)
commit321689cf450aab636d97aa19a660609979f15683
treec7281f488d88eb23543f83eea20c5c624ad4a19d
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
spi/omap100k: Convert to runtime PM

Currently the omap100k driver uses prepare and unprepare transfer hardware
to enable and disable clocks for the IP block. Since these functions are
called along with runtime PM and end up duplicating its functionality in a
less flexible fashion we are trying to phase them out so convert this
driver to do runtime PM instead.

While doing so add missing error handling and remove a redundant NULL
assignment.

Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap-100k.c