forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/misc/eeprom/eeprom_93cx6.c
....@@ -1,16 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2004 - 2006 rt2x00 SourceForge Project
34 * <http://rt2x00.serialmonkey.com>
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; either version 2 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
145 *
156 * Module: eeprom_93cx6
167 * Abstract: EEPROM reader routines for 93cx6 chipsets.
....@@ -237,7 +228,7 @@
237228 /**
238229 * eeprom_93cx6_readb - Read a byte from eeprom
239230 * @eeprom: Pointer to eeprom structure
240
- * @word: Byte index from where we should start reading
231
+ * @byte: Byte index from where we should start reading
241232 * @data: target pointer where the information will have to be stored
242233 *
243234 * This function will read a byte of the eeprom data
....@@ -279,7 +270,7 @@
279270 * @eeprom: Pointer to eeprom structure
280271 * @byte: Index from where we should start reading
281272 * @data: target pointer where the information will have to be stored
282
- * @words: Number of bytes that should be read.
273
+ * @bytes: Number of bytes that should be read.
283274 *
284275 * This function will read all requested bytes from the eeprom,
285276 * this is done by calling eeprom_93cx6_readb() multiple times.