| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright 2012 ST Ericsson. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Power supply driver for ST Ericsson pm2xxx_charger charger |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #include <linux/init.h> |
|---|
| .. | .. |
|---|
| 105 | 102 | 2600, |
|---|
| 106 | 103 | 2800, |
|---|
| 107 | 104 | 3000, |
|---|
| 108 | | -}; |
|---|
| 109 | | - |
|---|
| 110 | | -static const struct i2c_device_id pm2xxx_ident[] = { |
|---|
| 111 | | - { "pm2301", 0 }, |
|---|
| 112 | | - { } |
|---|
| 113 | 105 | }; |
|---|
| 114 | 106 | |
|---|
| 115 | 107 | static void set_lpn_pin(struct pm2xxx_charger *pm2) |
|---|
| .. | .. |
|---|
| 399 | 391 | |
|---|
| 400 | 392 | if (val & (PM2XXX_INT4_ITCHARGINGON)) { |
|---|
| 401 | 393 | dev_dbg(pm2->dev , |
|---|
| 402 | | - "chargind operation has started\n"); |
|---|
| 394 | + "charging operation has started\n"); |
|---|
| 403 | 395 | } |
|---|
| 404 | 396 | |
|---|
| 405 | 397 | if (val & (PM2XXX_INT4_ITVRESUME)) { |
|---|