PM / Domains: Remove dev->driver check for runtime PM
authorLina Iyer <lina.iyer@linaro.org>
Wed, 28 Oct 2015 21:18:59 +0000 (15:18 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 2 Nov 2015 01:23:11 +0000 (02:23 +0100)
commit298cd0f0880188422a518e9d780bd49d66ea7ad5
treed7f8b3e7b7fef304dd86ceff0b228c16d972f5a2
parent2b1d88cda32f81685bae45c00bf517f77bcda3cd
PM / Domains: Remove dev->driver check for runtime PM

Remove check for driver of a device, for runtime PM. Device may be
suspended without an explicit driver. This check seems to be vestigial
and incorrect in the current context.

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Lina Iyer <lina.iyer@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c