PM / Runtime: Allow helpers to be called by early platform drivers

Runtime PM helper functions, like pm_runtime_get_sync(), cannot be
called by early platform device drivers, because the devices' power
management locks are not initialized at that time.  This is quite
inconvenient, so modify early_platform_add_devices() to initialize
the devices power management locks as appropriate and make sure that
they won't be initialized more than once if an early platform
device is going to be used as a regular one later.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

Conflicts:
	drivers/base/power/power.h
Revert "asoc: wcd9320: Use class AB headphone path for high-res formats"

This reverts commit 4fddf19711a004fb8a3ed0ab9b97881c15e7e37d.
Revert "ASoC: wcd9xxx: Set HPH PA register to volatile"

This reverts commit 412729f08c2fcb376413090579fb18beb06fb6a3.
Revert "ASoC: wcd93xx: Remove deadlock for ANC use-cases"

This reverts commit da82851128343069f12d67a7a164f57129e23b68.
Revert "ASoC: wcd9320: release codec mutex before calling dapm function"

This reverts commit e8f9f654b5cc8122d211c910dbe9065d1e207354.
Revert "ASoC: wcd9320: Fix micbias setting for MAD"

This reverts commit 6103010f67d1ecb65a77abde0ecdee9614ce9615.
Revert "ASoC: wcd9320: Fix DAPM timeout when accesing MAD calibration"

This reverts commit ef8768a1248be818061015fb4d9cf4ff908086be.
Revert "ASoC: wcd9320: Wait for enough time for Line PAs to get settled"

This reverts commit d86817b1add04ed246639185a37463d4a026bd76.
Revert "sched: defining relaxed version of idle_cpu"

This reverts commit 197a220a7692fb9e9cd25fe55aab0d69201a5220.