[PATCH 6.16 319/627] power: supply: max14577: Handle NULL pdata when CONFIG_OF is not set