| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * clk-si5351.c: Silicon Laboratories Si5351A/B/C I2C Clock Generator |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * References: |
|---|
| 8 | 9 | * [1] "Si5351A/B/C Data Sheet" |
|---|
| 9 | | - * http://www.silabs.com/Support%20Documents/TechnicalDocs/Si5351.pdf |
|---|
| 10 | + * https://www.silabs.com/Support%20Documents/TechnicalDocs/Si5351.pdf |
|---|
| 10 | 11 | * [2] "Manually Generating an Si5351 Register Map" |
|---|
| 11 | | - * http://www.silabs.com/Support%20Documents/TechnicalDocs/AN619.pdf |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 14 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 15 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 16 | | - * option) any later version. |
|---|
| 12 | + * https://www.silabs.com/Support%20Documents/TechnicalDocs/AN619.pdf |
|---|
| 17 | 13 | */ |
|---|
| 18 | 14 | |
|---|
| 19 | 15 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 1215 | 1211 | /* per clkout properties */ |
|---|
| 1216 | 1212 | for_each_child_of_node(np, child) { |
|---|
| 1217 | 1213 | if (of_property_read_u32(child, "reg", &num)) { |
|---|
| 1218 | | - dev_err(&client->dev, "missing reg property of %s\n", |
|---|
| 1219 | | - child->name); |
|---|
| 1214 | + dev_err(&client->dev, "missing reg property of %pOFn\n", |
|---|
| 1215 | + child); |
|---|
| 1220 | 1216 | goto put_child; |
|---|
| 1221 | 1217 | } |
|---|
| 1222 | 1218 | |
|---|
| .. | .. |
|---|
| 1370 | 1366 | enum si5351_variant variant = (enum si5351_variant)id->driver_data; |
|---|
| 1371 | 1367 | struct si5351_platform_data *pdata; |
|---|
| 1372 | 1368 | struct si5351_driver_data *drvdata; |
|---|
| 1373 | | - struct clk_init_data init = {}; |
|---|
| 1369 | + struct clk_init_data init; |
|---|
| 1374 | 1370 | const char *parent_names[4]; |
|---|
| 1375 | 1371 | u8 num_parents, num_clocks; |
|---|
| 1376 | 1372 | int ret, n; |
|---|