mmc: sdhci-of-arasan: Modify clock operations handling
authorManish Narani <manish.narani@xilinx.com>
Mon, 6 Apr 2020 17:43:34 +0000 (23:13 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:20:57 +0000 (11:20 +0200)
commit16ada730a759d693bfa3724767d2b4d61d645222
tree0c637eda66632ee71256aace023c6005c3afa3d1
parent37d3ee7c5dc03944bdcb05d5c654dda3abd31795
mmc: sdhci-of-arasan: Modify clock operations handling

The SDHCI clock operations are platform specific. So it better to define
them separately for particular platform. This will prevent multiple
if..else conditions and will make it easy for user to add their own
clock operations handlers.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Link: https://lore.kernel.org/r/1586195015-128992-6-git-send-email-manish.narani@xilinx.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c