Skip to content

Commit

Permalink
mfd: Remove driver_data field from mfd_cell
Browse files Browse the repository at this point in the history
All users of this have now been switched over to using mfd_data;
it can go away now.

Signed-off-by: Andres Salomon <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
dilinger authored and Samuel Ortiz committed Mar 23, 2011
1 parent 46673ed commit dcb50e8
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/mfd/mfd-core.c
Original file line number Diff line number Diff line change
@@ -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)
3 changes: 0 additions & 3 deletions include/linux/mfd/core.h
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit dcb50e8

Please sign in to comment.