[U-Boot] [PATCH 1/2] dm: i2c: Rename driver model I2C functions to permit compatibility

Simon Glass sjg at chromium.org
Wed Jan 21 01:36:18 CET 2015


On 12 January 2015 at 18:02, Simon Glass <sjg at chromium.org> wrote:
> Add a dm_ prefix to driver model I2C functions so that we can keep the old
> ones around.
>
> This is a little unfortunate, but on reflection it is too difficult to
> change the API. We can undo this rename when most boards and drivers are
> converted to use driver model for I2C.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  board/avionic-design/common/tamonten-ng.c |  2 +-
>  board/nvidia/cardhu/cardhu.c              |  8 ++---
>  board/nvidia/dalmore/dalmore.c            |  6 ++--
>  board/nvidia/whistler/whistler.c          | 10 +++---
>  board/toradex/apalis_t30/apalis_t30.c     |  6 ++--
>  common/cmd_i2c.c                          | 28 ++++++++-------
>  common/exports.c                          |  3 +-
>  drivers/i2c/i2c-uclass.c                  |  9 ++---
>  drivers/power/as3722.c                    |  4 +--
>  drivers/power/tps6586x.c                  |  4 +--
>  include/i2c.h                             | 19 +++++-----
>  test/dm/i2c.c                             | 60 +++++++++++++++----------------
>  12 files changed, 82 insertions(+), 77 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list