device property: Constify device_get_match_data()
PATCH v2 6/6 device property: Constify device_get_match_data()
Review
Quoted 7 lines · Andy Shevchenko
(quoted diff) +2
-3-void *device_get_match_data(struct device *dev) +const void *device_get_match_data(struct device *dev) { - return fwnode_call_ptr_op(dev_fwnode(dev), device_get_match_data, - dev); + return fwnode_call_ptr_op(dev_fwnode(dev), device_get_match_data, dev); }
I remember having a checkpatch problem here.