platform-drivers: x86: fix common misspellings
Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
cae1570264
commit
c8440336fe
|
@ -29,7 +29,7 @@
|
||||||
* John Belmonte - ACPI code for Toshiba laptop was a good starting point.
|
* John Belmonte - ACPI code for Toshiba laptop was a good starting point.
|
||||||
* Eric Burghard - LED display support for W1N
|
* Eric Burghard - LED display support for W1N
|
||||||
* Josh Green - Light Sens support
|
* Josh Green - Light Sens support
|
||||||
* Thomas Tuttle - His first patch for led support was very helpfull
|
* Thomas Tuttle - His first patch for led support was very helpful
|
||||||
* Sam Lin - GPS support
|
* Sam Lin - GPS support
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -201,7 +201,7 @@ static bool extra_features;
|
||||||
* into 0x4F and read a few bytes from the output, like so:
|
* into 0x4F and read a few bytes from the output, like so:
|
||||||
* u8 writeData = 0x33;
|
* u8 writeData = 0x33;
|
||||||
* ec_transaction(0x4F, &writeData, 1, buffer, 32, 0);
|
* ec_transaction(0x4F, &writeData, 1, buffer, 32, 0);
|
||||||
* That address is labled "fan1 table information" in the service manual.
|
* That address is labelled "fan1 table information" in the service manual.
|
||||||
* It should be clear which value in 'buffer' changes). This seems to be
|
* It should be clear which value in 'buffer' changes). This seems to be
|
||||||
* related to fan speed. It isn't a proper 'realtime' fan speed value
|
* related to fan speed. It isn't a proper 'realtime' fan speed value
|
||||||
* though, because physically stopping or speeding up the fan doesn't
|
* though, because physically stopping or speeding up the fan doesn't
|
||||||
|
|
|
@ -1322,7 +1322,7 @@ static void cmsg_quirk(struct eeepc_laptop *eeepc, int cm, const char *name)
|
||||||
{
|
{
|
||||||
int dummy;
|
int dummy;
|
||||||
|
|
||||||
/* Some BIOSes do not report cm although it is avaliable.
|
/* Some BIOSes do not report cm although it is available.
|
||||||
Check if cm_getv[cm] works and, if yes, assume cm should be set. */
|
Check if cm_getv[cm] works and, if yes, assume cm should be set. */
|
||||||
if (!(eeepc->cm_supported & (1 << cm))
|
if (!(eeepc->cm_supported & (1 << cm))
|
||||||
&& !read_acpi_int(eeepc->handle, cm_getv[cm], &dummy)) {
|
&& !read_acpi_int(eeepc->handle, cm_getv[cm], &dummy)) {
|
||||||
|
|
|
@ -485,7 +485,7 @@ EXPORT_SYMBOL(rar_lock);
|
||||||
*
|
*
|
||||||
* The register_rar function is to used by other device drivers
|
* The register_rar function is to used by other device drivers
|
||||||
* to ensure that this driver is ready. As we cannot be sure of
|
* to ensure that this driver is ready. As we cannot be sure of
|
||||||
* the compile/execute order of drivers in ther kernel, it is
|
* the compile/execute order of drivers in the kernel, it is
|
||||||
* best to give this driver a callback function to call when
|
* best to give this driver a callback function to call when
|
||||||
* it is ready to give out addresses. The callback function
|
* it is ready to give out addresses. The callback function
|
||||||
* would have those steps that continue the initialization of
|
* would have those steps that continue the initialization of
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* as published by the Free Software Foundation; version 2
|
* as published by the Free Software Foundation; version 2
|
||||||
* of the License.
|
* of the License.
|
||||||
*
|
*
|
||||||
* SCU runing in ARC processor communicates with other entity running in IA
|
* SCU running in ARC processor communicates with other entity running in IA
|
||||||
* core through IPC mechanism which in turn messaging between IA core ad SCU.
|
* core through IPC mechanism which in turn messaging between IA core ad SCU.
|
||||||
* SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and
|
* SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and
|
||||||
* SCU where IPC-2 is used between P-Unit and SCU. This driver delas with
|
* SCU where IPC-2 is used between P-Unit and SCU. This driver delas with
|
||||||
|
|
|
@ -605,7 +605,7 @@ struct sony_nc_value {
|
||||||
int value; /* current setting */
|
int value; /* current setting */
|
||||||
int valid; /* Has ever been set */
|
int valid; /* Has ever been set */
|
||||||
int debug; /* active only in debug mode ? */
|
int debug; /* active only in debug mode ? */
|
||||||
struct device_attribute devattr; /* sysfs atribute */
|
struct device_attribute devattr; /* sysfs attribute */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SNC_HANDLE_NAMES(_name, _values...) \
|
#define SNC_HANDLE_NAMES(_name, _values...) \
|
||||||
|
@ -3129,7 +3129,7 @@ static int sony_pic_add(struct acpi_device *device)
|
||||||
/* request io port */
|
/* request io port */
|
||||||
list_for_each_entry_reverse(io, &spic_dev.ioports, list) {
|
list_for_each_entry_reverse(io, &spic_dev.ioports, list) {
|
||||||
if (request_region(io->io1.minimum, io->io1.address_length,
|
if (request_region(io->io1.minimum, io->io1.address_length,
|
||||||
"Sony Programable I/O Device")) {
|
"Sony Programmable I/O Device")) {
|
||||||
dprintk("I/O port1: 0x%.4x (0x%.4x) + 0x%.2x\n",
|
dprintk("I/O port1: 0x%.4x (0x%.4x) + 0x%.2x\n",
|
||||||
io->io1.minimum, io->io1.maximum,
|
io->io1.minimum, io->io1.maximum,
|
||||||
io->io1.address_length);
|
io->io1.address_length);
|
||||||
|
@ -3137,7 +3137,7 @@ static int sony_pic_add(struct acpi_device *device)
|
||||||
if (io->io2.minimum) {
|
if (io->io2.minimum) {
|
||||||
if (request_region(io->io2.minimum,
|
if (request_region(io->io2.minimum,
|
||||||
io->io2.address_length,
|
io->io2.address_length,
|
||||||
"Sony Programable I/O Device")) {
|
"Sony Programmable I/O Device")) {
|
||||||
dprintk("I/O port2: 0x%.4x (0x%.4x) + 0x%.2x\n",
|
dprintk("I/O port2: 0x%.4x (0x%.4x) + 0x%.2x\n",
|
||||||
io->io2.minimum, io->io2.maximum,
|
io->io2.minimum, io->io2.maximum,
|
||||||
io->io2.address_length);
|
io->io2.address_length);
|
||||||
|
|
|
@ -2407,7 +2407,7 @@ static void hotkey_compare_and_issue_event(struct tp_nvram_state *oldn,
|
||||||
* This code is supposed to duplicate the IBM firmware behaviour:
|
* This code is supposed to duplicate the IBM firmware behaviour:
|
||||||
* - Pressing MUTE issues mute hotkey message, even when already mute
|
* - Pressing MUTE issues mute hotkey message, even when already mute
|
||||||
* - Pressing Volume up/down issues volume up/down hotkey messages,
|
* - Pressing Volume up/down issues volume up/down hotkey messages,
|
||||||
* even when already at maximum or minumum volume
|
* even when already at maximum or minimum volume
|
||||||
* - The act of unmuting issues volume up/down notification,
|
* - The act of unmuting issues volume up/down notification,
|
||||||
* depending which key was used to unmute
|
* depending which key was used to unmute
|
||||||
*
|
*
|
||||||
|
@ -2990,7 +2990,7 @@ static void tpacpi_send_radiosw_update(void)
|
||||||
* rfkill input events, or we will race the rfkill core input
|
* rfkill input events, or we will race the rfkill core input
|
||||||
* handler.
|
* handler.
|
||||||
*
|
*
|
||||||
* tpacpi_inputdev_send_mutex works as a syncronization point
|
* tpacpi_inputdev_send_mutex works as a synchronization point
|
||||||
* for the above.
|
* for the above.
|
||||||
*
|
*
|
||||||
* We optimize to avoid numerous calls to hotkey_get_wlsw.
|
* We optimize to avoid numerous calls to hotkey_get_wlsw.
|
||||||
|
|
Loading…
Reference in New Issue