dm: treewide: Rename dev_get_platdata() to dev_get_plat()
Rename this to be consistent with the change from 'platdata'. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -207,7 +207,7 @@ static int usb_stor_probe_device(struct usb_device *udev)
|
||||
* is shared by all LUNs (block devices) attached to this mass storage
|
||||
* device.
|
||||
*/
|
||||
data = dev_get_platdata(udev->dev);
|
||||
data = dev_get_plat(udev->dev);
|
||||
if (!usb_storage_probe(udev, 0, data))
|
||||
return 0;
|
||||
max_lun = usb_get_max_lun(data);
|
||||
|
||||
Reference in New Issue
Block a user