diff options
| author | Heikki Krogerus <[email protected]> | 2016-03-29 11:52:23 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-04-09 01:10:50 +0000 |
| commit | f4d05266032346531b9f889e26aa31a0cf2a9822 (patch) | |
| tree | 505a1b118968395ab85a39f37ae0e6c0a4d6c342 /fs/jbd2/commit.c | |
| parent | Linux 4.6-rc2 (diff) | |
| download | kernel-f4d05266032346531b9f889e26aa31a0cf2a9822.tar.gz kernel-f4d05266032346531b9f889e26aa31a0cf2a9822.zip | |
device property: don't bother the drivers with struct property_set
Since device_add_property_set() now always takes a copy of
the property_set, and also since the fwnode type is always
hard coded to be FWNODE_PDATA, there is no need for the
drivers to deliver the entire struct property_set. The
function can just create the instance of it on its own and
bind the properties from the drivers to it on the spot.
This renames device_add_property_set() to
device_add_properties(). The function now takes struct
property_entry as its parameter instead of struct
property_set.
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Acked-by: Lee Jones <[email protected]>
Signed-off-by: Heikki Krogerus <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
