| .. | .. |
|---|
| 1 | | -/* |
|---|
| 2 | | - * Register map access API - W1 (1-Wire) support |
|---|
| 3 | | - * |
|---|
| 4 | | - * Copyright (c) 2017 Radioavionica Corporation |
|---|
| 5 | | - * Author: Alex A. Mihaylov <minimumlaw@rambler.ru> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * published by the Free Software Foundation |
|---|
| 10 | | - */ |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 2 | +// |
|---|
| 3 | +// Register map access API - W1 (1-Wire) support |
|---|
| 4 | +// |
|---|
| 5 | +// Copyright (c) 2017 Radioavionica Corporation |
|---|
| 6 | +// Author: Alex A. Mihaylov <minimumlaw@rambler.ru> |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #include <linux/regmap.h> |
|---|
| 13 | 9 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 219 | 215 | |
|---|
| 220 | 216 | return __regmap_init(w1_dev, bus, w1_dev, config, |
|---|
| 221 | 217 | lock_key, lock_name); |
|---|
| 222 | | - |
|---|
| 223 | | - return NULL; |
|---|
| 224 | 218 | } |
|---|
| 225 | 219 | EXPORT_SYMBOL_GPL(__regmap_init_w1); |
|---|
| 226 | 220 | |
|---|
| .. | .. |
|---|
| 237 | 231 | |
|---|
| 238 | 232 | return __devm_regmap_init(w1_dev, bus, w1_dev, config, |
|---|
| 239 | 233 | lock_key, lock_name); |
|---|
| 240 | | - |
|---|
| 241 | | - return NULL; |
|---|
| 242 | 234 | } |
|---|
| 243 | 235 | EXPORT_SYMBOL_GPL(__devm_regmap_init_w1); |
|---|
| 244 | 236 | |
|---|