| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * w83l786ng.c - Linux kernel driver for hardware monitoring |
|---|
| 3 | 4 | * Copyright (c) 2007 Kevin Lo <kevlo@kevlo.org> |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 7 | | - * the Free Software Foundation - version 2. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | | - * GNU General Public License for more details. |
|---|
| 13 | | - * |
|---|
| 14 | | - * You should have received a copy of the GNU General Public License |
|---|
| 15 | | - * along with this program; if not, write to the Free Software |
|---|
| 16 | | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|---|
| 17 | | - * 02110-1301 USA. |
|---|
| 18 | 5 | */ |
|---|
| 19 | 6 | |
|---|
| 20 | 7 | /* |
|---|
| .. | .. |
|---|
| 719 | 706 | } |
|---|
| 720 | 707 | |
|---|
| 721 | 708 | static int |
|---|
| 722 | | -w83l786ng_probe(struct i2c_client *client, const struct i2c_device_id *id) |
|---|
| 709 | +w83l786ng_probe(struct i2c_client *client) |
|---|
| 723 | 710 | { |
|---|
| 724 | 711 | struct device *dev = &client->dev; |
|---|
| 725 | 712 | struct w83l786ng_data *data; |
|---|
| .. | .. |
|---|
| 765 | 752 | .driver = { |
|---|
| 766 | 753 | .name = "w83l786ng", |
|---|
| 767 | 754 | }, |
|---|
| 768 | | - .probe = w83l786ng_probe, |
|---|
| 755 | + .probe_new = w83l786ng_probe, |
|---|
| 769 | 756 | .id_table = w83l786ng_id, |
|---|
| 770 | 757 | .detect = w83l786ng_detect, |
|---|
| 771 | 758 | .address_list = normal_i2c, |
|---|