Files
android_kernel_xiaomi_sm8450/include/linux
Paul Gortmaker c698d639f7 i2c: create builtin_i2c_driver to avoid registration boilerplate
In commit f309d44431 ("platform_device:
better support builtin boilerplate avoidance") we introduced the
builtin_driver macro.

Here we use that support and extend it to I2C driver registration,
so where a driver is clearly non-modular and builtin-only, we can
register it in a similar fashion.  And existing code that is clearly
non-modular can be updated with the simple mapping of

     module_i2c_driver(...)  ---> builtin_i2c_driver(...)

We've essentially cloned the former to make the latter, and taken
out the remove/module_exit parts since those never get used in a
non-modular build of the code.

A similar thing was done in commit b4eb6cdbbd
("PCI: Add builtin_pci_driver() to avoid registration boilerplate").

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2016-01-13 11:06:03 +01:00
..
2015-10-01 12:48:11 -07:00
2015-06-25 11:49:31 +03:00
2015-10-17 21:22:08 -07:00
2015-10-07 18:08:15 +01:00
2015-08-27 20:47:09 +01:00
2015-10-27 19:34:54 -07:00
2015-05-13 12:04:55 -05:00
2015-03-25 20:28:11 -04:00
2015-08-03 12:01:54 -04:00
2015-11-06 17:50:42 -08:00
2015-11-07 10:40:47 -07:00
2015-10-07 16:02:49 -07:00
2015-09-04 16:54:41 -07:00
2015-02-12 18:54:15 -08:00
2015-09-08 15:35:28 -07:00
2015-10-18 10:14:39 -07:00
2015-10-31 19:05:59 -04:00
2015-01-21 19:21:30 +01:00
2014-11-10 09:27:30 -07:00
2014-12-31 13:06:50 -05:00
2015-10-30 01:47:27 -04:00
2014-10-09 11:35:48 +03:00
2015-06-24 17:49:45 -07:00
2014-10-08 16:01:41 -04:00
2014-08-06 18:01:24 -07:00
2015-05-12 10:46:53 +02:00
2015-06-19 15:18:28 +02:00
2015-09-08 15:35:28 -07:00
2015-03-16 21:45:54 +11:00
2015-05-05 13:40:42 -06:00
2014-06-06 16:08:13 -07:00
2015-10-23 05:44:28 -07:00
2014-06-02 14:56:01 -07:00
2015-08-27 19:40:58 -04:00
2015-10-01 15:06:43 +02:00
2015-10-13 19:01:25 +02:00
2015-06-25 12:06:45 +02:00
2015-11-09 15:11:24 -08:00
2015-08-18 15:49:15 -07:00
2015-07-28 08:50:42 +01:00
2015-04-29 17:17:17 -05:00
2015-04-14 16:49:05 -07:00
2015-10-27 18:55:31 -07:00
2015-06-24 17:49:41 -07:00
2015-11-06 17:50:42 -08:00
2014-10-09 22:25:58 -04:00
2015-10-20 22:10:45 +08:00
2015-07-21 10:39:05 -07:00
2015-06-25 04:20:04 -04:00
2015-10-08 05:26:35 -07:00
2015-08-17 13:32:56 -05:00
2015-03-11 17:56:28 -04:00
2014-11-04 13:29:38 +00:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-11-06 17:50:42 -08:00
2014-07-09 14:58:37 +01:00
2015-09-13 11:27:30 +02:00
2015-04-12 21:03:31 +02:00
2015-01-25 23:17:28 -05:00
2015-10-09 17:00:32 -04:00
2015-10-06 17:08:19 +02:00
2015-10-22 08:59:18 -07:00
2015-05-26 15:23:23 +02:00
2015-06-25 01:13:43 +02:00
2014-08-08 15:57:26 -07:00
2014-08-08 15:57:31 -07:00
2015-02-13 21:21:41 -08:00
2015-04-11 15:53:35 -04:00
2014-06-12 00:21:11 -04:00
2015-09-10 15:36:59 -04:00
2014-06-04 16:53:57 -07:00
2015-06-25 17:00:39 -07:00
2015-11-05 14:36:09 -05:00
2014-06-04 16:53:56 -07:00
2015-08-17 11:25:28 -07:00
2015-10-01 09:57:59 -07:00
2015-10-19 01:01:21 +02:00
2015-11-20 16:19:54 -08:00
2015-04-11 22:29:44 -04:00
2014-11-28 16:08:16 +01:00
2015-11-04 09:56:16 -07:00
2015-03-24 09:48:14 -07:00
2015-11-13 20:34:33 -05:00
2015-09-08 15:35:28 -07:00