[PATCH 6.0 0747/1073] power: supply: cw2015: Use device managed API to simplify the code