Skip to content

driver core: Split device.h even more

Andy Shevchenko driver-core linux-acpi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3driver core: Split device data types to device/types.hinclude/linux/device.h include/linux/device/types.h+416 -3949 replies
2/3driver core: Split device link data types and API to device/devlink.hinclude/linux/device.h include/linux/device/devlink.h include/linux/fwnode.h+100 -851 reply
3/3driver core: Split device related fwnode API to device/fwnode.hinclude/linux/device.h include/linux/device/fwnode.h+29 -163 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] driver core: Split device.h even more

In many drivers the whole bunch of what device.h provides is not being used. Currently we already have device/devres.h which helps a lot, but splitting more, will do even better. Hence this mini-series.

Note, it hasn't got comprehensive compile-test, so I would be not in a hurry to apply it (but if you can test or *temporally* place into Linux Next, it would be nice) and let others to test, including all crawling CIs and bots.

Andy Shevchenko (3):
driver core: Split device data types to device/types.h driver core: Split device link data types and API to device/devlink.h driver core: Split device related fwnode API to device/fwnode.h

 include/linux/device.h         | 498 +--------------------------------
 include/linux/device/devlink.h |  97 +++++++
 include/linux/device/fwnode.h  |  28 ++
 include/linux/device/types.h   | 415 +++++++++++++++++++++++++++
 include/linux/fwnode.h         |   2 +
 5 files changed, 545 insertions(+), 495 deletions(-)
 create mode 100644 include/linux/device/devlink.h
 create mode 100644 include/linux/device/fwnode.h
 create mode 100644 include/linux/device/types.h
Signature · 1 line
2.50.1