hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/mfd/twl6040.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * MFD driver for TWL6040 audio device
34 *
....@@ -6,21 +7,6 @@
67 * Peter Ujfalusi <peter.ujfalusi@ti.com>
78 *
89 * Copyright: (C) 2011 Texas Instruments, Inc.
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License version 2 as
12
- * published by the Free Software Foundation.
13
- *
14
- * This program is distributed in the hope that it will be useful, but
15
- * WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
- * General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22
- * 02110-1301 USA
23
- *
2410 */
2511
2612 #include <linux/module.h>
....@@ -624,7 +610,8 @@
624610 .writeable_reg = twl6040_writeable_reg,
625611
626612 .cache_type = REGCACHE_RBTREE,
627
- .use_single_rw = true,
613
+ .use_single_read = true,
614
+ .use_single_write = true,
628615 };
629616
630617 static const struct regmap_irq twl6040_irqs[] = {