Re: [PATCH v2 1/2] extcon: ptn5150: Switch to GENMASK() and BIT() macros

From: Ramuthevar, Vadivel MuruganX
Date: Thu Aug 27 2020 - 01:19:39 EST


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