Andres Salomon
fe891a008f
mfd-core: Unconditionally add mfd_cell to every platform_device
...
Previously, one would set the mfd_cell's platform_data/data_size to point
to the current mfd_cell in order to pass that information along to drivers.
This causes the current mfd_cell to always be available to drivers. It
also adds a wrapper function for fetching the mfd cell from a platform
device, similar to what originally existed for mfd devices.
Drivers who previously used platform_data for other purposes can still
use it; the difference is that mfd_get_data() must be used to
access it (and the pdata structure is no longer allocated in
mfd_add_devices).
Note that mfd_get_data is intentionally vague (in name) about where
the data is stored; variable name changes can come later without having
to touch brazillions of drivers.
Signed-off-by: Andres Salomon <dilinger@queued.net >
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com >
2011-03-23 10:41:50 +01:00
..
2011-03-17 11:04:51 +00:00
2011-03-22 11:33:55 -07:00
2011-03-23 10:41:48 +01:00
2011-03-18 23:38:50 -07:00
2011-03-23 10:41:50 +01:00
2011-03-17 15:35:22 -04:00
2011-03-18 10:50:27 -07:00
2011-03-20 15:33:26 +01:00
2011-03-16 15:11:04 -07:00
2011-03-19 22:27:06 -07:00
2011-03-17 12:38:59 -04:00
2011-03-16 15:11:04 -07:00
2011-03-15 02:42:32 -04:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:44:00 -07:00
2011-03-22 17:44:10 -07:00
2011-03-22 17:44:10 -07:00
2011-03-22 17:44:10 -07:00
2011-03-16 17:54:33 -04:00
2011-03-22 17:44:15 -07:00
2011-03-21 12:13:10 -04:00
2011-03-14 17:02:43 -07:00
2011-03-08 16:10:38 +01:00
2011-03-16 17:28:10 -07:00
2011-03-07 01:12:28 +05:30
2011-03-14 08:40:51 -07:00
2011-03-22 17:44:11 -07:00
2011-03-18 15:13:11 -07:00
2011-03-15 02:21:37 -04:00
2011-03-08 11:38:10 +11:00
2011-03-17 09:19:20 +08:00
2011-03-14 19:12:20 -04:00
2011-03-15 02:21:45 -04:00
2011-03-21 10:05:22 -07:00
2011-03-22 17:44:10 -07:00
2011-03-10 10:31:48 -05:00
2011-03-22 17:44:05 -07:00
2011-03-05 10:56:00 +01:00
2011-03-17 14:31:46 +01:00
2011-03-10 19:15:58 +01:00
2011-03-20 14:50:53 +01:00
2011-03-12 15:08:54 -08:00
2011-03-09 16:10:56 -05:00
2011-03-18 15:14:45 -07:00
2011-03-10 16:37:26 -08:00
2011-03-15 19:23:40 -07:00
2011-03-12 11:12:58 +01:00
2011-03-11 14:15:35 +01:00
2011-03-22 16:17:32 -07:00
2011-03-22 17:44:14 -07:00
2011-03-08 11:17:18 +11:00
2011-03-08 11:17:18 +11:00
2011-03-08 11:17:22 +11:00
2011-03-22 17:44:01 -07:00
2011-03-17 13:08:30 -03:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-14 02:52:41 -04:00
2011-03-18 22:33:38 -07:00
2011-03-22 17:44:03 -07:00
2011-03-22 17:44:03 -07:00
2011-03-22 17:44:04 -07:00
2011-03-18 09:04:20 -04:00
2011-03-16 12:53:54 -07:00
2011-03-11 15:39:27 -05:00
2011-03-11 15:38:40 -05:00
2011-03-11 15:39:26 -05:00
2011-03-11 15:38:44 -05:00
2011-03-11 15:38:44 -05:00
2011-03-14 18:25:53 -04:00
2011-03-10 17:29:40 +09:00
2011-03-16 17:28:10 -07:00
2011-03-22 17:44:03 -07:00
2011-03-22 17:44:02 -07:00
2011-03-14 02:58:03 -04:00
2011-03-18 10:56:44 -07:00
2011-03-18 10:56:44 -07:00
2011-03-16 14:04:14 +01:00
2011-03-09 11:59:33 -08:00
2011-03-11 15:13:26 -05:00
2011-03-15 00:43:14 +01:00
2011-03-15 00:43:14 +01:00
2011-03-15 00:43:16 +01:00
2011-03-04 09:23:30 -08:00
2011-03-22 17:44:00 -07:00
2011-03-09 13:52:27 -05:00
2011-03-22 17:44:03 -07:00
2011-03-09 11:23:37 -08:00
2011-03-22 17:44:01 -07:00
2011-03-16 16:29:25 -07:00
2011-03-22 17:44:15 -07:00
2011-03-16 12:53:54 -07:00
2011-03-22 20:48:04 +02:00
2011-03-22 17:44:11 -07:00
2011-03-09 14:08:09 -08:00
2011-03-15 00:43:16 +01:00
2011-03-22 17:44:04 -07:00
2011-03-21 00:40:29 -04:00
2011-03-15 00:43:46 +01:00
2011-03-09 16:43:24 -08:00
2011-03-13 16:35:18 -04:00
2011-03-22 16:17:32 -07:00
2011-03-22 17:44:09 -07:00
2011-03-22 17:44:05 -07:00
2011-03-13 20:22:28 -07:00
2011-03-22 17:44:17 -07:00