]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sunxi: Move clock configuration to a function
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 16 Apr 2018 14:23:02 +0000 (16:23 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 2 May 2018 13:08:42 +0000 (15:08 +0200)
commit9d664bdf91d8963ca98010174c13f5b97a1d5a07
tree3bb188880dd2ed120eb0995fc86d7adb0441403c
parente47188c0b91ac7286ba6094797d038232ce88a1b
mmc: sunxi: Move clock configuration to a function

In order to improve readibility and reusability, let's move the clock setup
to a small function called by our .set_ios hook.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c