| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * tps65910.c -- TI TPS6591x |
|---|
| 3 | + * tps65910.c -- TI TPS6591x chip family multi-function driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2010 Texas Instruments Inc. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Author: Graeme Gregory <gg@slimlogic.co.uk> |
|---|
| 7 | 8 | * Author: Jorge Eduardo Candelaria <jedu@slimlogic.co.uk> |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 10 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 11 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 12 | | - * option) any later version. |
|---|
| 13 | | - * |
|---|
| 14 | 9 | */ |
|---|
| 15 | 10 | |
|---|
| 16 | | -#include <linux/module.h> |
|---|
| 17 | | -#include <linux/moduleparam.h> |
|---|
| 18 | 11 | #include <linux/init.h> |
|---|
| 19 | 12 | #include <linux/err.h> |
|---|
| 20 | 13 | #include <linux/slab.h> |
|---|
| .. | .. |
|---|
| 374 | 367 | { .compatible = "ti,tps65911", .data = (void *)TPS65911}, |
|---|
| 375 | 368 | { }, |
|---|
| 376 | 369 | }; |
|---|
| 377 | | -MODULE_DEVICE_TABLE(of, tps65910_of_match); |
|---|
| 378 | 370 | |
|---|
| 379 | 371 | static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client, |
|---|
| 380 | 372 | unsigned long *chip_id) |
|---|
| .. | .. |
|---|
| 527 | 519 | { "tps65911", TPS65911 }, |
|---|
| 528 | 520 | { } |
|---|
| 529 | 521 | }; |
|---|
| 530 | | -MODULE_DEVICE_TABLE(i2c, tps65910_i2c_id); |
|---|
| 531 | | - |
|---|
| 532 | 522 | |
|---|
| 533 | 523 | static struct i2c_driver tps65910_i2c_driver = { |
|---|
| 534 | 524 | .driver = { |
|---|
| .. | .. |
|---|
| 545 | 535 | } |
|---|
| 546 | 536 | /* init early so consumer devices can complete system boot */ |
|---|
| 547 | 537 | subsys_initcall(tps65910_i2c_init); |
|---|
| 548 | | - |
|---|
| 549 | | -static void __exit tps65910_i2c_exit(void) |
|---|
| 550 | | -{ |
|---|
| 551 | | - i2c_del_driver(&tps65910_i2c_driver); |
|---|
| 552 | | -} |
|---|
| 553 | | -module_exit(tps65910_i2c_exit); |
|---|
| 554 | | - |
|---|
| 555 | | -MODULE_AUTHOR("Graeme Gregory <gg@slimlogic.co.uk>"); |
|---|
| 556 | | -MODULE_AUTHOR("Jorge Eduardo Candelaria <jedu@slimlogic.co.uk>"); |
|---|
| 557 | | -MODULE_DESCRIPTION("TPS6591x chip family multi-function driver"); |
|---|
| 558 | | -MODULE_LICENSE("GPL"); |
|---|