Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcb50e83 authored by Andres Salomon's avatar Andres Salomon Committed by Samuel Ortiz
Browse files

mfd: Remove driver_data field from mfd_cell



All users of this have now been switched over to using mfd_data;
it can go away now.

Signed-off-by: default avatarAndres Salomon <dilinger@queued.net>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 46673ed2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ static int mfd_add_device(struct device *parent, int id,
		goto fail_device;

	pdev->dev.parent = parent;
	platform_set_drvdata(pdev, cell->driver_data);

	ret = platform_device_add_data(pdev, cell, sizeof(*cell));
	if (ret)
+0 −3
Original line number Diff line number Diff line
@@ -30,9 +30,6 @@ struct mfd_cell {
	int			(*suspend)(struct platform_device *dev);
	int			(*resume)(struct platform_device *dev);

	/* driver-specific data for MFD-aware "cell" drivers */
	void			*driver_data;

	/* mfd_data can be used to pass data to client drivers */
	void			*mfd_data;