| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * PCAP2 Regulator Driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2009 Daniel Ribeiro <drwyrm@gmail.com> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 7 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 8 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 9 | | - * option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 89 | 85 | }; |
|---|
| 90 | 86 | |
|---|
| 91 | 87 | #define SW2_table SW1_table |
|---|
| 92 | | - |
|---|
| 93 | | -static const unsigned int SW3_table[] = { |
|---|
| 94 | | - 4000000, 4500000, 5000000, 5500000, |
|---|
| 95 | | -}; |
|---|
| 96 | 88 | |
|---|
| 97 | 89 | struct pcap_regulator { |
|---|
| 98 | 90 | const u8 reg; |
|---|