
5 Jul
2017
5 Jul
'17
4:42 p.m.
On Tue, Jul 04, 2017 at 01:31:26PM -0600, Simon Glass wrote:
This function has #ifdefs in it which we want to avoid for driver model. Instead we should use different compatible strings and the .data field. It also uses the MMC device number which is not available in driver model except through aliases.
Move the function's into its caller so that the driver-model version can do things its own way.
Signed-off-by: Simon Glass sjg@chromium.org
Acked-by: Maxime Ripard maxime.ripard@free-electrons.com
Thanks! Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com