[GIT PULL] Driver core fixes for 5.6-rc5

From: Greg KH
Date: Sun Mar 08 2020 - 05:53:02 EST


The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9:

Linux 5.6-rc1 (2020-02-09 16:08:48 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.6-rc5

for you to fetch changes up to 77036165d8bcf7c7b2a2df28a601ec2c52bb172d:

driver core: Skip unnecessary work when device doesn't have sync_state() (2020-03-04 13:46:03 +0100)

----------------------------------------------------------------
Driver core / debugfs fixes for 5.6-rc5

Here are 4 small driver core / debugfs patches for 5.6-rc3

They are:
- debugfs api cleanup now that all callers for
debugfs_create_regset32() have been fixed up. This was
waiting until after the -rc1 merge as these fixes came in
through different trees
- driver core sync state fixes based on reports of minor issues
found in the feature

All of these have been in linux-next with no reported issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Greg Kroah-Hartman (1):
debugfs: remove return value of debugfs_create_regset32()

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()

Documentation/filesystems/debugfs.txt | 6 +++---
drivers/base/core.c | 27 ++++++++++++++++++++-------
fs/debugfs/file.c | 17 ++++-------------
include/linux/debugfs.h | 13 ++++++-------
include/linux/device.h | 11 +++++++++++
5 files changed, 44 insertions(+), 30 deletions(-)