Revert "power: max17040: Fix NULL pointer dereference when there is no platform_data"

This reverts commit 7db019a232f3577a92a2a81d34e4add1c4b80483.

Conflicts:
	drivers/power/max17040_battery.c

Change-Id: Ia36b0c65662f5a3017bb2985aacf39558127d956