]> asedeno.scripts.mit.edu Git - linux.git/commit
driver core: add BUS_ATTR_WO() macro
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jul 2018 13:20:32 +0000 (15:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Oct 2018 10:47:28 +0000 (12:47 +0200)
commit8514c470dc18e58f27dee10a787175ef8f31162f
tree9bf6547db8ff51aa98dbf14a26c2974c1ca3f872
parenta75e78f21f9ad4b810868c89dbbabcc3931591ca
driver core: add BUS_ATTR_WO() macro

Many bus attributes are write-only, so provide a simple macro for that
to be able to match the other driver core attribute macros.

Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Cc: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h