[U-Boot] [PATCH v2 18/32] dm: block: Rename device number member dev to devnum

Simon Glass sjg at chromium.org
Sun Mar 13 02:53:08 CET 2016


On 29 February 2016 at 15:25, Simon Glass <sjg at chromium.org> wrote:
> This is a device number, and we want to use 'dev' to mean a driver model
> device. Rename the member.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v2:
> - Fix rebase error in cmd/cbfs.c
>
>  board/sunxi/board.c          |  4 ++--
>  cmd/disk.c                   |  2 +-
>  cmd/fat.c                    |  4 ++--
>  cmd/ide.c                    | 12 ++++++------
>  cmd/mmc_spi.c                |  4 ++--
>  cmd/reiser.c                 |  4 ++--
>  cmd/sata.c                   |  6 +++---
>  cmd/scsi.c                   |  6 +++---
>  cmd/usb_mass_storage.c       |  2 +-
>  cmd/zfs.c                    |  2 +-
>  common/env_fat.c             |  4 ++--
>  common/fb_mmc.c              |  4 ++--
>  common/usb_storage.c         |  6 +++---
>  disk/part.c                  |  8 ++------
>  disk/part_dos.c              | 29 +++++++++++++++++------------
>  disk/part_efi.c              |  4 ++--
>  disk/part_iso.c              | 39 ++++++++++++++++++++-------------------
>  disk/part_mac.c              | 22 +++++++++++-----------
>  drivers/block/sandbox.c      |  6 +++---
>  drivers/block/systemace.c    |  2 +-
>  drivers/mmc/arm_pl180_mmci.c |  2 +-
>  drivers/mmc/mmc.c            |  8 ++++----
>  drivers/mmc/mmc_write.c      |  4 ++--
>  drivers/mmc/mxsmmc.c         | 24 ++++++++++++------------
>  drivers/mmc/omap_hsmmc.c     |  4 ++--
>  drivers/mmc/sdhci.c          |  2 +-
>  fs/fat/fat.c                 |  4 ++--
>  include/blk.h                |  2 +-
>  28 files changed, 111 insertions(+), 109 deletions(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list