Revert "Correct drivers/power/power_supply_core.c to mach android needs."

This reverts commit 30d9264016a1b2de7301d2c95452a0baf620706b.
Revert "power_supply: Fix Oops from NULL pointer dereference from wakeup_source_activate"

This reverts commit 5a63ac632b147aadca4ec4700bf5c0d3439a8d76.
Revert "power_supply: Prevent suspend until power supply events are processed"

This reverts commit 2d85ef4e9b01a853e879ac5d00324d4b5db8f050.
Revert "power_supply: Add of_node_put to fix refcount"

This reverts commit 49a9696ee28aaa8f0eed8986cd2aac8a7a4050fb.
Revert "power_supply: Populate supplied_from hierarchy from the device tree"

This reverts commit 19cf6cc49af5090715a6911461d5f32068e0b71a.
Revert "power_supply: Add core support for supplied_from"

This reverts commit 258b0cfe3048eebbfb31b9fb64de25b9e0b99508.
Revert : power_supply: Register power supply for thermal cooling device

This patch registers the power supply as a cooling device if the power
supply has support for charge throttling.

Now with this change low level drivers need not register with thermal
framework as it is automatically done by power supply framework.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Revert "power_supply: Register battery as a thermal zone"

This reverts commit 4876353b6e536c1d1b69c879de94eb23f512fefd.
Revert "power_supply: Assume mains power by default"

This reverts commit e58f9d472d07c60f5275e907dc23fd481d61564a.