]> git.ipfire.org Git - people/ms/linux.git/commit
extcon: ptn5150: Use defines for registers
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 9 Sep 2020 15:01:28 +0000 (17:01 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 24 Sep 2020 10:20:49 +0000 (19:20 +0900)
commitb9a32f624f7f1f0dc408fb7e62fbf10a8fe3ad9a
tree0a546cb352cb112c2b0b53430fd5f6284b5266fb
parentd0f668101713bd029e7d19a4fe9ddab9a33c8f85
extcon: ptn5150: Use defines for registers

The register addresses are not continuous, so use simple defines for
them.  This also makes it easier to find the address for register.

No functional change.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-ptn5150.c