Re: [PATCH v2 04/17] tegra: i2c: Change driver to use helper function

2020-02-03 Thread Bin Meng
On Tue, Feb 4, 2020 at 8:20 AM Simon Glass  wrote:
>
> Now that we have uclass_first_device_drvdata(), use it from the I2C driver
> to reduce code duplication.
>
> Signed-off-by: Simon Glass 
> ---
>
> Changes in v2:
> - Add new patch to change tegra driver to use helper function
>
>  drivers/i2c/tegra_i2c.c | 13 +
>  1 file changed, 1 insertion(+), 12 deletions(-)
>

Reviewed-by: Bin Meng 


Re: [PATCH v2 04/17] tegra: i2c: Change driver to use helper function

2020-02-03 Thread Heiko Schocher

Hello Simon,

Am 04.02.2020 um 01:19 schrieb Simon Glass:

Now that we have uclass_first_device_drvdata(), use it from the I2C driver
to reduce code duplication.

Signed-off-by: Simon Glass 
---

Changes in v2:
- Add new patch to change tegra driver to use helper function

  drivers/i2c/tegra_i2c.c | 13 +
  1 file changed, 1 insertion(+), 12 deletions(-)


Reviewed-by: Heiko Schocher 

bye,
Heiko
--
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de