Re: [PATCH v5 6/6] dm: mmc: Update mmc_get_mmc_dev() to use const *

2020-04-26 Thread Tom Rini
On Wed, Apr 08, 2020 at 08:33:00AM -0600, Simon Glass wrote: > This function does not modify the device to change it to use const *, so > that callers with a const udevice * can call it without a cast. > > Signed-off-by: Simon Glass > Reviewed-by: Jaehoon Chung Applied to u-boot/master,

Re: [PATCH v5 6/6] dm: mmc: Update mmc_get_mmc_dev() to use const *

2020-04-09 Thread Jaehoon Chung
On 4/8/20 11:33 PM, Simon Glass wrote: > This function does not modify the device to change it to use const *, so > that callers with a const udevice * can call it without a cast. > > Signed-off-by: Simon Glass Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > > Changes in v5:

[PATCH v5 6/6] dm: mmc: Update mmc_get_mmc_dev() to use const *

2020-04-08 Thread Simon Glass
This function does not modify the device to change it to use const *, so that callers with a const udevice * can call it without a cast. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: None drivers/mmc/mmc-uclass.c | 2 +- include/mmc.h| 2 +- 2 files changed, 2