Commit df6f3f7
power: supply: bq24190_charger: drop of_match_ptr() from device ID table
The driver can match only via the DT table so the table should be always
used and the of_match_ptr() does not have any sense (this also allows ACPI
matching via PRP0001, even though it might be not relevant here). This
fixes compile warning (!CONFIG_OF):
drivers/power/supply/bq24190_charger.c:1972:34: warning: ‘bq24190_of_match’ defined but not used [-Wunused-const-variable=]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>1 parent 30e677a commit df6f3f7
1 file changed
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
1959 | 1958 | | |
1960 | 1959 | | |
1961 | 1960 | | |
1962 | | - | |
1963 | 1961 | | |
1964 | 1962 | | |
1965 | 1963 | | |
| |||
1968 | 1966 | | |
1969 | 1967 | | |
1970 | 1968 | | |
1971 | | - | |
1972 | | - | |
1973 | | - | |
1974 | | - | |
1975 | | - | |
1976 | 1969 | | |
1977 | 1970 | | |
1978 | 1971 | | |
| |||
1981 | 1974 | | |
1982 | 1975 | | |
1983 | 1976 | | |
1984 | | - | |
| 1977 | + | |
1985 | 1978 | | |
1986 | 1979 | | |
1987 | 1980 | | |
| |||
0 commit comments