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, ven
On 8/27/20 12:56 PM, Ramuthevar,Vadivel MuruganX wrote:
> From: Ramuthevar Vadivel Murugan
>
> Switch to GENMASK() and BIT() macros.
>
> Signed-off-by: Ramuthevar Vadivel Murugan
>
> Reviewed-by: Krzysztof Kozlowski
> ---
> drivers/extcon/extcon-ptn5150.c | 43
> +++-
From: Ramuthevar Vadivel Murugan
Switch to GENMASK() and BIT() macros.
Signed-off-by: Ramuthevar Vadivel Murugan
Reviewed-by: Krzysztof Kozlowski
---
drivers/extcon/extcon-ptn5150.c | 43 +++--
1 file changed, 11 insertions(+), 32 deletions(-)
diff --git
3 matches
Mail list logo