From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Wed, 5 Jul 2017 16:42:53 +0200 Subject: [U-Boot] [PATCH v2 09/15] dm: mmc: sunxi: Drop mmc_clk_io_on() In-Reply-To: <20170704193133.87092-10-sjg@chromium.org> References: <20170704193133.87092-1-sjg@chromium.org> <20170704193133.87092-10-sjg@chromium.org> Message-ID: <20170705144253.r4rxoxcvmy7kdaat@flea> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: