diff options
author | Guenter Roeck <[email protected]> | 2023-04-19 09:41:27 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-04-20 14:25:07 +0200 |
commit | 046b6a171009e1ed9ede02194025e9ccd709beb2 (patch) | |
tree | 2c0562b1acd14ca774e2a696b5d21f50654ca19a /drivers/fpga/fpga-bridge.c | |
parent | 11a96703943fc4293f50f554b9e33c79ef4f5d8d (diff) |
device property: make device_property functions take const device *
device_property functions do not modify the device pointer passed to them.
The underlying of_device and fwnode_ functions actually already take
const * arguments. Mark the parameter constant to simplify conversion
from of_property to device_property functions, and to let the calling code
use const device pointers where possible.
Cc: Chris Packham <[email protected]>
Reviewed-by: Chris Packham <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions