lkml.org 
[lkml]   [2020]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 1/2] extcon: ptn5150: Switch to GENMASK() and BIT() macros
From
Date
Hi,

On 27/8/2020 1:26 pm, Chanwoo Choi wrote:
>> -
>> + vendor_id = FIELD_GET(PTN5150_REG_DEVICE_ID_VENDOR, reg_data);
>> + version_id = FIELD_GET(PTN5150_REG_DEVICE_ID_VERSION, reg_data);
>> dev_dbg(info->dev, "Device type: version: 0x%x, vendor: 0x%x\n",
>> version_id, vendor_id);
>>
>>
> Applied it. Thanks.
Thank you!

Regards
Vadivel

\
 
 \ /
  Last update: 2020-08-27 07:20    [W:1.043 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site