.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * rl6347a.c - RL6347A class device shared support |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2015 Realtek Semiconductor Corp. |
---|
5 | 6 | * |
---|
6 | 7 | * Author: Oder Chiou <oder_chiou@realtek.com> |
---|
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. |
---|
11 | 8 | */ |
---|
12 | 9 | |
---|
13 | 10 | #include <linux/module.h> |
---|
.. | .. |
---|
64 | 61 | struct i2c_client *client = context; |
---|
65 | 62 | struct i2c_msg xfer[2]; |
---|
66 | 63 | int ret; |
---|
67 | | - __be32 be_reg; |
---|
68 | | - unsigned int index, vid, buf = 0x0; |
---|
| 64 | + __be32 be_reg, buf = 0x0; |
---|
| 65 | + unsigned int index, vid; |
---|
69 | 66 | |
---|
70 | 67 | /* handle index registers */ |
---|
71 | 68 | if (reg <= 0xff) { |
---|