hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/clk/clk-cdce706.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * TI CDCE706 programmable 3-PLL clock synthesizer driver
34 *
45 * Copyright (c) 2014 Cadence Design Systems Inc.
56 *
6
- * Reference: http://www.ti.com/lit/ds/symlink/cdce706.pdf
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
7
+ * Reference: https://www.ti.com/lit/ds/symlink/cdce706.pdf
118 */
129
1310 #include <linux/clk.h>
....@@ -633,7 +630,7 @@
633630 static int cdce706_probe(struct i2c_client *client,
634631 const struct i2c_device_id *id)
635632 {
636
- struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
633
+ struct i2c_adapter *adapter = client->adapter;
637634 struct cdce706_dev_data *cdce;
638635 int ret;
639636