mmc: meson-gx: remove unneeded devm_kstrdup in meson_mmc_clk_init
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 4 Mar 2017 12:26:24 +0000 (13:26 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:10 +0000 (21:41 +0200)
commit7b9ebad38fe64644714826966c9a164d90d1c408
treeeab243baf58433fce7aa6a6ccbee9684b6a758d9
parentcac3a47855c24bf060e58977473747ef3de7dedf
mmc: meson-gx: remove unneeded devm_kstrdup in meson_mmc_clk_init

CLK core does a deep copy of init.name, therefore it's fully ok to
provide a local variable.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c