.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * AS3711 PMIC MFC driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2012 Renesas Electronics Corporation |
---|
5 | 6 | * Author: Guennadi Liakhovetski, <g.liakhovetski@gmx.de> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the version 2 of the GNU General Public License as |
---|
9 | | - * published by the Free Software Foundation |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | #include <linux/device.h> |
---|
.. | .. |
---|
16 | 13 | #include <linux/kernel.h> |
---|
17 | 14 | #include <linux/mfd/as3711.h> |
---|
18 | 15 | #include <linux/mfd/core.h> |
---|
19 | | -#include <linux/module.h> |
---|
20 | 16 | #include <linux/of.h> |
---|
21 | 17 | #include <linux/regmap.h> |
---|
22 | 18 | #include <linux/slab.h> |
---|
.. | .. |
---|
118 | 114 | {.compatible = "ams,as3711",}, |
---|
119 | 115 | {} |
---|
120 | 116 | }; |
---|
121 | | -MODULE_DEVICE_TABLE(of, as3711_of_match); |
---|
122 | 117 | #endif |
---|
123 | 118 | |
---|
124 | 119 | static int as3711_i2c_probe(struct i2c_client *client, |
---|
.. | .. |
---|
202 | 197 | {} |
---|
203 | 198 | }; |
---|
204 | 199 | |
---|
205 | | -MODULE_DEVICE_TABLE(i2c, as3711_i2c_id); |
---|
206 | | - |
---|
207 | 200 | static struct i2c_driver as3711_i2c_driver = { |
---|
208 | 201 | .driver = { |
---|
209 | 202 | .name = "as3711", |
---|
.. | .. |
---|
219 | 212 | } |
---|
220 | 213 | /* Initialise early */ |
---|
221 | 214 | subsys_initcall(as3711_i2c_init); |
---|
222 | | - |
---|
223 | | -static void __exit as3711_i2c_exit(void) |
---|
224 | | -{ |
---|
225 | | - i2c_del_driver(&as3711_i2c_driver); |
---|
226 | | -} |
---|
227 | | -module_exit(as3711_i2c_exit); |
---|
228 | | - |
---|
229 | | -MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); |
---|
230 | | -MODULE_DESCRIPTION("AS3711 PMIC driver"); |
---|
231 | | -MODULE_LICENSE("GPL v2"); |
---|