power: supply: axp288_charger: Use the defined variable to clean code
authorTang Bin <tangbin@cmss.chinamobile.com>
Wed, 11 Aug 2021 10:49:29 +0000 (18:49 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 13 Aug 2021 14:31:02 +0000 (16:31 +0200)
commitc02aa89b7435c852aad9b2f39bdfd8ba8e22d3dc
tree5e6634fb4779b23bb7967d1e0fe9fd94046c7057
parent6ea0126631b0c3fb03ad69832c409b00a250d8dd
power: supply: axp288_charger: Use the defined variable to clean code

Use the defined variable "dev" to make the code cleaner.

Co-developed-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp288_charger.c