lkml.org 
[lkml]   [2019]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] i2c: busses: Use dev_get_drvdata where possible
From
Date
On 7/23/19 9:34 PM, Jean Delvare wrote:
> On Tue, 23 Jul 2019 19:11:10 +0800, Chuhong Yuan wrote:
>> Instead of using to_pci_dev + pci_get_drvdata,
>> use dev_get_drvdata to make code simpler.
>>
>> Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
>> ---
>> drivers/i2c/busses/i2c-designware-pcidrv.c | 6 ++----
>> drivers/i2c/busses/i2c-i801.c | 3 +--
>> 2 files changed, 3 insertions(+), 6 deletions(-)
>> (...)
>
> Looks good to me, thanks.
>
> Reviewed-by: Jean Delvare <jdelvare@suse.de>
>
For the i2c-designware-pcidrv.c

Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>

\
 
 \ /
  Last update: 2019-07-29 15:25    [W:0.090 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site