Enric Balletbo i Serra
840d9f131f
mfd / platform: cros_ec: Reorganize platform and mfd includes
...
There is a bit of mess between cros-ec mfd includes and platform
includes. For example, we have a linux/mfd/cros_ec.h include that
exports the interface implemented in platform/chrome/cros_ec_proto.c. Or
we have a linux/mfd/cros_ec_commands.h file that is non related to the
multifunction device (in the sense that is not exporting any function of
the mfd device). This causes crossed includes between mfd and
platform/chrome subsystems and makes the code difficult to read, apart
from creating 'curious' situations where a platform/chrome driver includes
a linux/mfd/cros_ec.h file just to get the exported functions that are
implemented in another platform/chrome driver.
In order to have a better separation on what the cros-ec multifunction
driver does and what the cros-ec core provides move and rework the
affected includes doing:
- Move cros_ec_commands.h to include/linux/platform_data/cros_ec_commands.h
- Get rid of the parts that are implemented in the platform/chrome/cros_ec_proto.c
driver from include/linux/mfd/cros_ec.h to a new file
include/linux/platform_data/cros_ec_proto.h
- Update all the drivers with the new includes, so
- Drivers that only need to know about the protocol include
- linux/platform_data/cros_ec_proto.h
- linux/platform_data/cros_ec_commands.h
- Drivers that need to know about the cros-ec mfd device also include
- linux/mfd/cros_ec.h
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Wolfram Sang <wsa@the-dreams.de >
Acked-by: Neil Armstrong <narmstrong@baylibre.com >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Acked-by: Chanwoo Choi <cw00.choi@samsung.com >
Reviewed-by: Gwendal Grignou <gwendal@chromium.org >
Tested-by: Gwendal Grignou <gwendal@chromium.org >
Series changes: 3
- Fix dereferencing pointer to incomplete type 'struct cros_ec_dev' (lkp)
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2019-09-02 11:33:42 +01:00
..
2019-06-19 17:09:55 +02:00
2019-06-26 09:18:54 -07:00
2019-06-19 17:09:55 +02:00
2019-07-18 11:05:25 -07:00
2019-06-19 17:09:55 +02:00
2019-07-17 09:55:43 -07:00
2019-06-19 17:09:55 +02:00
2019-06-21 16:01:06 +02:00
2019-06-19 17:09:55 +02:00
2019-07-13 15:02:27 -07:00
2019-06-20 09:23:22 +02:00
2019-09-02 11:33:42 +01:00
2019-07-13 14:40:42 -07:00
2019-07-08 11:01:13 -07:00
2019-07-03 17:52:08 -04:00
2019-06-19 17:09:55 +02:00
2019-09-02 11:33:42 +01:00
2019-07-15 20:38:15 -07:00
2019-07-11 18:11:21 -07:00
2019-07-13 15:42:44 -07:00
2019-06-25 01:32:59 +02:00
2019-07-08 09:54:55 -07:00
2019-07-13 15:02:27 -07:00
2019-09-02 11:33:42 +01:00
2019-06-19 17:09:55 +02:00
2019-07-04 17:34:34 +01:00
2019-06-19 17:09:55 +02:00
2019-07-20 10:20:27 -07:00
2019-07-19 17:13:56 -07:00
2019-07-01 11:52:43 +05:30
2019-07-04 17:35:11 +01:00
2019-07-18 14:32:33 -07:00
2019-07-12 15:13:55 -07:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:55 +02:00
2019-07-18 09:12:34 -07:00
2019-06-19 17:09:07 +02:00
2019-06-24 19:23:39 +02:00
2019-07-08 18:55:42 -07:00
2019-07-10 09:00:57 -06:00
2019-07-01 08:18:54 -06:00
2019-07-16 19:23:22 -07:00
2019-07-10 09:00:57 -06:00
2019-07-10 09:00:57 -06:00
2019-06-20 10:29:22 -06:00
2019-07-11 20:04:40 -06:00
2019-06-27 15:25:16 -07:00
2019-06-20 00:06:27 -04:00
2019-06-27 15:25:16 -07:00
2019-06-27 15:25:16 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:08 +02:00
2019-07-15 11:03:02 -03:00
2019-07-15 21:20:52 -07:00
2019-07-12 11:11:30 -07:00
2019-07-17 10:07:48 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-16 19:23:23 -07:00
2019-07-16 19:23:24 -07:00
2019-07-18 21:01:06 +02:00
2019-07-18 21:01:06 +02:00
2019-07-09 13:55:46 +02:00
2019-07-15 09:20:23 -03:00
2019-06-19 17:09:55 +02:00
2019-06-20 07:56:13 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-18 09:49:30 +02:00
2019-07-12 12:24:03 -07:00
2019-06-19 17:09:06 +02:00
2019-06-19 17:09:06 +02:00
2019-07-08 20:57:08 -07:00
2019-07-05 15:19:10 -07:00
2019-07-19 10:42:02 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-18 14:49:33 -07:00
2019-07-15 11:03:02 -03:00
2019-07-11 11:49:55 -03:00
2019-06-19 17:09:55 +02:00
2019-07-15 19:04:27 -07:00
2019-07-16 22:15:46 +02:00
2019-06-24 10:23:16 +02:00
2019-07-17 08:25:40 +02:00
2019-07-08 14:19:33 -07:00
2019-07-17 09:55:43 -07:00
2019-07-12 11:05:41 -07:00
2019-06-27 23:02:12 +01:00
2019-06-19 17:09:55 +02:00
2019-06-24 23:57:50 +03:00
2019-07-10 14:18:01 -06:00
2019-06-24 19:23:39 +02:00
2019-06-19 17:09:55 +02:00
2019-07-15 23:15:53 +02:00
2019-06-24 09:16:47 +10:00
2019-07-19 10:42:02 -07:00
2019-07-16 22:52:37 -04:00
2019-07-19 10:42:02 -07:00
2019-06-19 17:09:11 +02:00
2019-07-03 18:52:20 +02:00
2019-07-10 20:09:17 -07:00
2019-06-20 14:47:54 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-12 15:13:55 -07:00
2019-07-02 15:10:45 -03:00
2019-06-25 12:59:43 +10:00
2019-06-22 21:21:04 +02:00
2019-06-22 21:21:04 +02:00
2019-07-18 17:08:06 -07:00
2019-07-12 11:05:45 -07:00
2019-07-15 11:03:02 -03:00
2019-06-29 21:08:14 -07:00
2019-06-26 15:10:35 +02:00
2019-06-19 17:09:55 +02:00
2019-07-09 14:52:14 -07:00
2019-07-01 19:15:46 -07:00
2019-06-22 08:59:24 -04:00
2019-07-05 21:34:50 +02:00
2019-07-08 19:25:19 -07:00
2019-07-08 20:28:59 -07:00
2019-06-26 13:19:46 -07:00
2019-07-04 22:01:59 -04:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-15 11:42:31 +02:00
2019-07-04 17:26:48 +02:00
2019-06-26 14:08:11 +02:00
2019-07-04 17:26:48 +02:00
2019-06-19 17:09:56 +02:00
2019-06-25 12:51:25 +01:00
2019-07-16 19:23:22 -07:00
2019-07-17 07:21:02 -07:00
2019-07-04 17:26:48 +02:00
2019-07-14 19:42:11 -07:00
2019-06-19 17:09:55 +02:00
2019-07-08 14:01:43 +02:00
2019-06-20 17:32:21 -04:00
2019-07-12 11:05:42 -07:00
2019-07-12 11:05:42 -07:00
2019-07-16 19:23:21 -07:00
2019-07-08 19:36:47 -07:00
2019-07-10 18:43:43 -07:00
2019-06-19 17:09:08 +02:00
2019-07-16 19:23:22 -07:00
2019-07-20 09:00:45 +02:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:56 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-05 15:19:10 -07:00
2019-06-19 17:09:55 +02:00
2019-06-29 01:31:08 +02:00
2019-07-11 15:30:05 -07:00
2019-07-15 08:53:27 -03:00
2019-06-24 19:23:44 +02:00
2019-07-16 19:23:24 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-12 11:05:47 -07:00
2019-07-18 17:08:07 -07:00
2019-07-18 17:08:07 -07:00
2019-07-02 14:32:44 -03:00
2019-06-19 17:09:55 +02:00
2019-07-18 17:08:07 -07:00
2019-07-14 19:42:11 -07:00
2019-06-19 17:09:55 +02:00
2019-07-18 17:08:07 -07:00
2019-07-18 17:08:07 -07:00
2019-07-15 20:44:49 -07:00
2019-06-24 14:00:32 +02:00
2019-07-15 08:53:27 -03:00
2019-07-03 19:28:40 +02:00
2019-07-08 19:25:19 -07:00
2019-07-01 19:34:46 -07:00
2019-06-21 17:21:11 +02:00
2019-07-01 19:12:10 -07:00
2019-07-18 15:50:28 -04:00
2019-07-06 14:54:50 -04:00
2019-07-06 14:54:49 -04:00
2019-07-18 17:08:06 -07:00
2019-06-21 11:08:37 +02:00
2019-07-09 14:15:37 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-10 23:08:44 -05:00
2019-07-12 11:05:47 -07:00
2019-07-12 11:05:43 -07:00
2019-07-12 11:05:43 -07:00
2019-07-12 11:05:43 -07:00
2019-07-12 11:05:43 -07:00
2019-07-17 09:55:43 -07:00
2019-06-21 18:11:53 -05:00
2019-06-21 22:05:42 -04:00
2019-07-21 09:46:59 -07:00
2019-06-19 17:09:55 +02:00
2019-07-08 16:12:03 -07:00
2019-07-13 11:21:28 +02:00
2019-06-24 19:19:23 +02:00
2019-07-16 19:23:25 -07:00
2019-07-12 15:26:29 -07:00
2019-07-08 19:48:57 -07:00
2019-07-16 19:23:24 -07:00
2019-07-15 11:03:02 -03:00
2019-06-26 10:53:57 +02:00
2019-07-04 10:40:54 +02:00
2019-06-22 11:28:37 +02:00
2019-07-15 20:44:49 -07:00
2019-07-16 19:23:22 -07:00
2019-07-15 21:06:15 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-09 10:28:47 -07:00
2019-06-19 17:09:55 +02:00
2019-06-26 11:39:11 +02:00
2019-06-19 17:09:55 +02:00
2019-07-04 22:01:59 -04:00
2019-07-16 19:23:22 -07:00
2019-07-16 19:23:22 -07:00
2019-06-28 19:46:47 +02:00
2019-07-09 12:34:26 -07:00
2019-06-29 12:02:17 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:07 +02:00
2019-07-15 08:53:27 -03:00
2019-06-20 15:21:33 -04:00
2019-06-19 17:09:55 +02:00
2019-07-08 19:19:37 -07:00
2019-06-29 10:33:57 -06:00
2019-07-03 17:52:50 -04:00
2019-06-21 10:18:43 +02:00
2019-07-15 11:03:03 -03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:06 +02:00
2019-07-16 19:23:24 -07:00
2019-07-09 09:07:00 -07:00
2019-07-09 11:35:38 -07:00
2019-07-09 12:11:59 -07:00
2019-07-12 11:05:44 -07:00
2019-06-19 17:09:55 +02:00
2019-07-08 16:12:03 -07:00
2019-07-09 14:32:14 -06:00
2019-07-03 17:52:50 -04:00
2019-07-08 10:51:25 +02:00
2019-07-12 11:05:43 -07:00
2019-07-16 19:23:21 -07:00
2019-06-19 17:09:55 +02:00
2019-07-19 10:42:02 -07:00
2019-07-18 17:08:07 -07:00
2019-06-19 17:09:55 +02:00
2019-06-22 16:30:37 -07:00
2019-06-27 21:22:15 +08:00
2019-06-19 17:09:55 +02:00
2019-06-25 08:54:51 +02:00
2019-07-07 11:50:03 +02:00
2019-06-19 17:09:55 +02:00
2019-06-24 23:57:49 +03:00
2019-07-16 15:14:48 -04:00
2019-06-19 17:09:55 +02:00
2019-07-16 19:23:24 -07:00
2019-06-19 17:09:55 +02:00
2019-07-13 10:36:53 -07:00
2019-06-19 23:45:09 -04:00
2019-06-26 21:02:32 +01:00
2019-06-19 17:09:55 +02:00
2019-07-12 11:05:47 -07:00
2019-07-12 11:05:43 -07:00
2019-06-21 16:04:05 +02:00
2019-06-19 17:09:55 +02:00
2019-07-14 16:51:47 -07:00
2019-06-27 14:12:15 -07:00
2019-07-10 09:00:57 -06:00