hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/linux/mfd/wm8400-private.h
....@@ -1,21 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * wm8400 private definitions.
34 *
45 * Copyright 2008 Wolfson Microelectronics plc
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 as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, write to the Free Software
18
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef __LINUX_MFD_WM8400_PRIV_H
....@@ -922,13 +909,5 @@
922909 #define WM8400_LINE_CMP_VTHD_MASK 0x000F /* LINE_CMP_VTHD - [3:0] */
923910 #define WM8400_LINE_CMP_VTHD_SHIFT 0 /* LINE_CMP_VTHD - [3:0] */
924911 #define WM8400_LINE_CMP_VTHD_WIDTH 4 /* LINE_CMP_VTHD - [3:0] */
925
-
926
-int wm8400_block_read(struct wm8400 *wm8400, u8 reg, int count, u16 *data);
927
-
928
-static inline int wm8400_set_bits(struct wm8400 *wm8400, u8 reg,
929
- u16 mask, u16 val)
930
-{
931
- return regmap_update_bits(wm8400->regmap, reg, mask, val);
932
-}
933912
934913 #endif