device property: Constify device_get_match_data()
PATCH v2 6/6 device property: Constify device_get_match_data()
Quoted 12 lines · Sinan Kaya
Quoted 9 lines · Andy Shevchenko
(quoted diff) +1
-2-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,(quoted diff) +1
-1- dev); + return fwnode_call_ptr_op(dev_fwnode(dev),
device_get_match_data, dev);
}I remember having a checkpatch problem here.
It's exactly 79 characters.
What problem?