···3333 int (*suspend)(struct platform_device *dev);3434 int (*resume)(struct platform_device *dev);35353636- /* mfd_data can be used to pass data to client drivers */3737- void *mfd_data;3838-3936 /* platform data passed to the sub devices drivers */4037 void *platform_data;4138 size_t pdata_size;···8891static inline const struct mfd_cell *mfd_get_cell(struct platform_device *pdev)8992{9093 return pdev->mfd_cell;9191-}9292-9393-/*9494- * Given a platform device that's been created by mfd_add_devices(), fetch9595- * the .mfd_data entry from the mfd_cell that created it.9696- * Otherwise just return the platform_data pointer.9797- * This maintains compatibility with platform drivers whose devices aren't9898- * created by the mfd layer, and expect platform_data to contain what would've9999- * otherwise been in mfd_data.100100- */101101-static inline void *mfd_get_data(struct platform_device *pdev)102102-{103103- const struct mfd_cell *cell = mfd_get_cell(pdev);104104-105105- if (cell)106106- return cell->mfd_data;107107- else108108- return pdev->dev.platform_data;10994}1109511196extern int mfd_add_devices(struct device *parent, int id,