[PATCH v1 0/3] driver core: sync state fixups

From: Saravana Kannan
Date: Fri Feb 21 2020 - 02:50:48 EST


Patch 1/3 fixes a bug where sync_state() might not be called when it
should be. Patches 2/3 and 3/3 are just minor fix ups that I'm grouping
together. Not much to say here.

-Saravana

Saravana Kannan (3):
driver core: Call sync_state() even if supplier has no consumers
driver core: Add dev_has_sync_state()
driver core: Skip unnecessary work when device doesn't have
sync_state()

drivers/base/core.c | 27 ++++++++++++++++++++-------
include/linux/device.h | 11 +++++++++++
2 files changed, 31 insertions(+), 7 deletions(-)

--
2.25.0.265.gbab2e86ba0-goog