.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * TI CDCE706 programmable 3-PLL clock synthesizer driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2014 Cadence Design Systems Inc. |
---|
5 | 6 | * |
---|
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 |
---|
11 | 8 | */ |
---|
12 | 9 | |
---|
13 | 10 | #include <linux/clk.h> |
---|
.. | .. |
---|
633 | 630 | static int cdce706_probe(struct i2c_client *client, |
---|
634 | 631 | const struct i2c_device_id *id) |
---|
635 | 632 | { |
---|
636 | | - struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); |
---|
| 633 | + struct i2c_adapter *adapter = client->adapter; |
---|
637 | 634 | struct cdce706_dev_data *cdce; |
---|
638 | 635 | int ret; |
---|
639 | 636 | |
---|