GitHub/MotorolaMobilityLLC/kernel-slsi.git
13 years agoStaging: hv: storvsc: Cleanup error handling in storvsc_connect_to_vsp()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:04 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup error handling in storvsc_connect_to_vsp()

Cleanup error handling in storvsc_connect_to_vsp().

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: storvsc: Cleanup error handling in storvsc_channel_init()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:03 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup error handling in storvsc_channel_init()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: storvsc: Cleanup error handling in storvsc_dev_add()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:02 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup error handling in storvsc_dev_add()

Use standard Linux error values and cleanup error handling. I would like
to acknowledge Andre Bartke (andre.bartke@gmail.com) for highlighting this
problem.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Retry vmbus_post_msg() before giving up
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:01 +0000 (09:49 -0700)]
Staging: hv: vmbus: Retry vmbus_post_msg() before giving up

The function hv_post_msg() can fail because of transient resource
conditions. It may be useful to retry the operation.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: netvsc: Get rid of an unnecessary print statement in netvsc_probe()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:00 +0000 (09:49 -0700)]
Staging: hv: netvsc: Get rid of an unnecessary print statement in netvsc_probe()

Get rid of an unnecessary print statement in netvsc_probe(). Furthermore,
this fixes a bug since netdev_err is being invoked after the device has
been freed.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Cleanup the error return value in vmbus_recvpacket_raw()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:59 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup the error return value in vmbus_recvpacket_raw()

Use standard Linux errno values.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Cleanup error values in ringbuffer.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:58 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup error values in ringbuffer.c

Use standard Linux errno values in ringbuffer.c and do the associated
cleanup in the clients.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Change the variable name openInfo to open_info in channel.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:57 +0000 (09:48 -0700)]
Staging: hv: vmbus: Change the variable name openInfo to open_info in channel.c

Change the variable name openInfo to open_info in channel.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Get rid of unnecessary comments in channel.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:56 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of unnecessary comments in channel.c

Get rid of unnecessary comments in channel.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Rename openMsg to open_msg in channel.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:55 +0000 (09:48 -0700)]
Staging: hv: vmbus: Rename openMsg to open_msg in channel.c

Rename openMsg to open_msg in channel.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Get rid of the function dump_gpadl_header()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:54 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of the function dump_gpadl_header()

Get rid of the function dump_gpadl_header() as this adds no value.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Get rid of the function dump_gpadl_body()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:53 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of the function dump_gpadl_body()

Get rid of the function dump_gpadl_body() since it adds no value and actually is
in the data path.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Get rid of unnecessay comments in connection.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:52 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of unnecessay comments in connection.c

Get rid of unnecessay comments in connection.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Cleanup error handling in hv_init()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:51 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup error handling in hv_init()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Cleanup unnecessary comments in hv.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:50 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup unnecessary comments in hv.c

Cleanup unnecessary comments in hv.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Get rid of some unnecessary comments
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:49 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of some unnecessary comments

Get rid of some unnecessary comments.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: fix up driver registering mess
Greg Kroah-Hartman [Thu, 25 Aug 2011 22:07:32 +0000 (15:07 -0700)]
Staging: hv: fix up driver registering mess

Individual drivers should never be touching the 'struct device' field,
so if that is a requirement to pass to the vmbus core, you know
something is wrong.

This patch fixes that all up, and resolves the problem where the module
reference counting was not happening properly for the individual drivers
as well.  Overall, it reduces the lines of code the individual drivers
have to have, which tells you that this is the correct thing to do.

Also, somehow the _GPL marking for the functions got removed on an older
patch.  As the name of the function was changing, properly change the
_GPL marking as well at the same time.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: util: Get rid of the PCI signature in hv_util.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:45 +0000 (09:48 -0700)]
Staging: hv: util: Get rid of the PCI signature in hv_util.c

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the PCI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: util: Get rid of the DMI signature in hv_util.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:44 +0000 (09:48 -0700)]
Staging: hv: util: Get rid of the DMI signature in hv_util.c

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the DMI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: netvsc: Get rid of the DMI signature in netvsc_drv.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:43 +0000 (09:48 -0700)]
Staging: hv: netvsc: Get rid of the DMI signature in netvsc_drv.c

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the DMI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: netvsc: Get rid of the PCI signature
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:42 +0000 (09:48 -0700)]
Staging: hv: netvsc: Get rid of the PCI signature

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the PCI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: storvsc: Get rid of the DMI signature
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:41 +0000 (09:48 -0700)]
Staging: hv: storvsc: Get rid of the DMI signature

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the DMI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Get rid of an unnecessary include line in vmbus_drv.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:40 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of an unnecessary include line in vmbus_drv.c

Get rid of an unnecessary include line in vmbus_drv.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Support the notion of id tables in vmbus_match()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:39 +0000 (09:48 -0700)]
Staging: hv: vmbus: Support the notion of id tables in vmbus_match()

Introduce code to handle driver specific id tables to the vmbus core
(vmbus_match). This would allow us to handle more than one device type
with a given driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Cleanup vmbus_uevent() code
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:38 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup vmbus_uevent() code

Now generate appropriate uevent based on the modalias string. As part of this,
cleanup the existing uevent code.

[gregkh - fixed code to handle driver_data portion of struct
hv_vmbus_device_id]

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Cleanup vmbus_match()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:37 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup vmbus_match()

Use the preferred mechanism to compare guids in vmbus_match().

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: create VMBUS_DEVICE macro and use it.
Greg Kroah-Hartman [Thu, 25 Aug 2011 18:41:33 +0000 (11:41 -0700)]
Staging: hv: create VMBUS_DEVICE macro and use it.

This is to be used to be able to write hv_vmbus_device_id tables easier.

This patch also converts all hv drivers to use the macro, saving some
lines of code and making things easier to read overall.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: util: Make hv_utils a vmbus device driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:36 +0000 (09:48 -0700)]
Staging: hv: util: Make hv_utils a vmbus device driver

In preperation for supporting auto-loading the util driver, make
the util driver a vmbus driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: mousevsc: Use the newly introduced vmbus ID in mouse driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:35 +0000 (09:48 -0700)]
Staging: hv: mousevsc: Use the newly introduced vmbus ID in mouse driver

Use the newly introduced vmbus ID in mouse driver. Also, do the associated
cleanup. Since the mouse driver is not functional, we disable the
autoloading of this driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: netvsc: Use the newly introduced vmbus ID in netvsc driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:34 +0000 (09:48 -0700)]
Staging: hv: netvsc: Use the newly introduced vmbus ID in netvsc driver

Use the newly introduced vmbus ID in netvsc driver. Also, do the associated
cleanup.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: storvsc: Use the newly introduced vmbus ID in storvsc driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:33 +0000 (09:48 -0700)]
Staging: hv: storvsc: Use the newly introduced vmbus ID in storvsc driver

Use the newly introduced vmbus ID in storvsc driver. Also, do the
assciated cleanup.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: blkvsc: Use the newly introduced vmbus ID in the blockvsc driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:32 +0000 (09:48 -0700)]
Staging: hv: blkvsc: Use the newly introduced vmbus ID in the blockvsc driver

Use the newly introduced vmbus ID in the blockvsc driver. Also, do
the associated cleanup.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: file2alias: fix up alias creation logic for hv_vmbus_device_id
Greg Kroah-Hartman [Thu, 25 Aug 2011 18:28:11 +0000 (11:28 -0700)]
Staging: hv: file2alias: fix up alias creation logic for hv_vmbus_device_id

When I added the driver_data field to hv_vmbus_device_id, I forgot to
take into the account how the alias was created, so it would append the
kernel pointer to the end of the alias, which is not correct.

This changes how the hv_vmbus_device_id alias is created to proper
account for the driver_data field.  As no module yet uses this alias, it
is safe to fix this up at this point in the commit stream.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: Introduce vmbus ID space in struct hv_driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:31 +0000 (09:48 -0700)]
Staging: hv: vmbus: Introduce vmbus ID space in struct hv_driver

In preparation for supporting auto-loading Hyper-V drivers
using vmbus specific aliases, introduce vmbus ID space in struct hv_driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: Add code to parse struct hv_vmbus_device_id table
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:30 +0000 (09:48 -0700)]
Staging: hv: Add code to parse struct hv_vmbus_device_id table

Add code to parse struct hv_vmbus_device_id table.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: add driver_data to hv_vmbus_device_id
Greg Kroah-Hartman [Thu, 25 Aug 2011 17:25:37 +0000 (10:25 -0700)]
Staging: hv: add driver_data to hv_vmbus_device_id

This is going to be needed by some drivers that handle more than one
device, like all other bus types do, so prepare for that in advance
before the user/kernel api is used.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: Add struct hv_vmbus_device_id to mod_devicetable.h
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:29 +0000 (09:48 -0700)]
Staging: hv: Add struct hv_vmbus_device_id to mod_devicetable.h

In preparation for implementing vmbus aliases for auto-loading
Hyper-V drivers, define vmbus specific device ID.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: Replace struct hv_guid with the uuid type already defined in Linux
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:28 +0000 (09:48 -0700)]
Staging: hv: Replace struct hv_guid with the uuid type already defined in Linux

Replace struct hv_guid with the uuid type already defined in Linux.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: vmbus: VMBUS is an ACPI enumerated device, get rid of the PCI signature
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:27 +0000 (09:48 -0700)]
Staging: hv: vmbus: VMBUS is an ACPI enumerated device, get rid of the PCI signature

VMBUS is an ACPI enumerated device, get rid of the PCI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVIII
Larry Finger [Thu, 25 Aug 2011 16:48:30 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVIII

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVII
Larry Finger [Thu, 25 Aug 2011 16:48:29 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVII

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVI
Larry Finger [Thu, 25 Aug 2011 16:48:28 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVI

This patch removes all the errors and most of the warnings generated by
checkpatch -f for rtllib_softmac_tx.c..

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XV
Larry Finger [Thu, 25 Aug 2011 16:48:27 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XV

This patch removes all the errors and warnings generated by
checkpatch -f for rtllib_softmac_wx.c..

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f errors - Part XIV
Larry Finger [Thu, 25 Aug 2011 16:48:26 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f errors - Part XIV

With this patch, all of the checkpatch errors are fixed; however, only
some of the lines that are too long were fixed. To complete the fixing
of these warnings, the file rtllib_softmac.c will need refactoring. In addition,
some of the variables may need renaming. Those changes can be deferred.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f errors - Part XIII
Larry Finger [Thu, 25 Aug 2011 16:48:25 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f errors - Part XIII

With this patch, all of the checkpatch errors are fixed; however, only
some of the lines that are too long were fixed. To complete the fixing
of these warnings, the file rtl_dm.c will need refactoring. In addition,
some of the variables will need renaming. Those changes can be deferred.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XII
Larry Finger [Thu, 25 Aug 2011 16:48:24 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XII

This patch removes all the errors and most of the warnings generated by
checkpatch -f.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI
Larry Finger [Thu, 25 Aug 2011 16:48:23 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f errors - Part X
Larry Finger [Thu, 25 Aug 2011 16:48:22 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f errors - Part X

With this patch, all of the checkpatch errors are fixed; however, only
some of the lines that are too long were fixed. To complete the fixing
of these warnings, the file rtl_dm.c will need refactoring. In addition,
some of the variables will need renaming. Those changes can be deferred.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IX
Larry Finger [Thu, 25 Aug 2011 16:48:21 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IX

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VIII
Larry Finger [Thu, 25 Aug 2011 16:48:20 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VIII

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VII
Larry Finger [Thu, 25 Aug 2011 16:48:19 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VII

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VI
Larry Finger [Thu, 25 Aug 2011 16:48:18 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VI

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part V
Larry Finger [Thu, 25 Aug 2011 16:48:17 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part V

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IV
Larry Finger [Thu, 25 Aug 2011 16:48:16 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IV

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part III
Larry Finger [Thu, 25 Aug 2011 16:48:15 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part III

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part II
Larry Finger [Thu, 25 Aug 2011 16:48:14 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part II

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Remove extraneous log message
Larry Finger [Thu, 25 Aug 2011 16:48:13 +0000 (11:48 -0500)]
staging: rtl8192e: Remove extraneous log message

The driver logs all DHCP transactions and thus spams the logs.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Modify time handling
Larry Finger [Thu, 25 Aug 2011 16:48:12 +0000 (11:48 -0500)]
staging: rtl8192e: Modify time handling

In several places, the driver keeps times (in jiffies) in two 32-bit
quantities. In the rtl8192_hw_to_sleep(), there is an error in the
calculation of the difference between two 64-bit quantities. Rather
than fix that error, I have converted to a single 64-bit number. That
makes the code be much cleaner and clearer.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part I
Larry Finger [Thu, 25 Aug 2011 16:48:11 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part I

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcmfmac: Consolidate debugging macros
Joe Perches [Thu, 25 Aug 2011 06:16:48 +0000 (23:16 -0700)]
staging: brcmfmac: Consolidate debugging macros

Convert multiple BRCMF_<debug_level> macros to a single
brcmf_dbg(level, fmt, ...) macro.

Remove the now unnecessary double parentheses in the uses
of the old macros when converting to brcmf_dbg.

Delete all uses of "%s: [fmt]", __func__, args... and move
the "%s: ", __func__ to the macro for consistency.

Coalesce long formats.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: using vmalloc/vfree requires including vmalloc.h
Stephen Rothwell [Thu, 25 Aug 2011 06:17:06 +0000 (16:17 +1000)]
staging: rtl8192e: using vmalloc/vfree requires including vmalloc.h

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging/olpc_dcon: Remove obsolete cleanup for clientdata
Wolfram Sang [Thu, 25 Aug 2011 10:53:30 +0000 (12:53 +0200)]
staging/olpc_dcon: Remove obsolete cleanup for clientdata

A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit or error. This is obsolete meanwhile, the core will do it.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Andres Salomon <dilinger@queued.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Marek Belisko <marek.belisko@open-nandra.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/lwfinger/r8192E into staging...
Greg Kroah-Hartman [Thu, 25 Aug 2011 15:27:26 +0000 (08:27 -0700)]
Merge git://git./linux/kernel/git/lwfinger/r8192E into staging-next

* git://git.kernel.org/pub/scm/linux/kernel/git/lwfinger/r8192E: (166 commits)
  staging: rtl8192e: Remove files that are not used
  staging: rtl8192e: Convert typedefs that can be replaced with #define
  staging: rtl8192e: Convert typedef HT_AGGRE_SIZE_E to enum ht_aggre_size
  staging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s
  staging: rtl8192e: Convert typedef FW_CMD_IO_TYPE to enum fw_cmd_io_type
  staging: rtl8192e: Convert typedef SCAN_OPERATION_BACKUP_OPT to enum scan_op_backup_opt
  staging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type
  staging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type
  staging: rtl8192e: Convert typedef RT_RF_POWER_STATE to enum rt_rf_power_state
  staging: rtl8192e: Convert typedef RT_JOIN_ACTION to enum rt_join_action
  staging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_callback_function
  staging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode
  staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state
  staging: rtl8192e: Convert typedef erp_t to enum erp_t
  staging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type
  staging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode
  staging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def
  staging: rtl8192e: Convert typedef LED_CTL_MODE to enum led_ctl_mode
  staging: rtl8192e: Convert typedef InitialGainOpType to enum init_gain_op_type
  staging: rtl8192e: Convert typedef BA_ACTION to enum ba_action
  ...

13 years agostaging: rtl8192e: Remove files that are not used
Larry Finger [Thu, 25 Aug 2011 00:29:57 +0000 (19:29 -0500)]
staging: rtl8192e: Remove files that are not used

For the most part, these extra files came from the previous version
of the RTL8192E driver.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agoStaging: remove drivers/char/scc.h as it should have gone a while ago
Greg Kroah-Hartman [Wed, 24 Aug 2011 21:44:13 +0000 (14:44 -0700)]
Staging: remove drivers/char/scc.h as it should have gone a while ago

This was needed by one of the generic serial drivers that was removed a
while ago.  No one even noticed that the driver could not be built
properly while it was in the staging directory.

So this removed the unneeded .h file.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: delete an empty string
Aaro Koskinen [Wed, 24 Aug 2011 15:21:52 +0000 (18:21 +0300)]
staging: xgifb: delete an empty string

Delete a string which is always empty.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: delete driver version information
Aaro Koskinen [Wed, 24 Aug 2011 15:21:51 +0000 (18:21 +0300)]
staging: xgifb: delete driver version information

Delete version information, it's just noise and serves no purpose.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: delete write-only variables
Aaro Koskinen [Wed, 24 Aug 2011 15:21:50 +0000 (18:21 +0300)]
staging: xgifb: delete write-only variables

Delete couple write-only variables.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: nvec: convert to use platform register and mfdcells
Marc Dietrich [Wed, 24 Aug 2011 18:23:07 +0000 (20:23 +0200)]
staging: nvec: convert to use platform register and mfdcells

This patch converts the nvec to use mfd cells and improves the
registration of the platform driver. The child drivers are also
converted to use mfd cells and platform registration.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:trigger push functions that don't need to be generaly available down...
Jonathan Cameron [Wed, 24 Aug 2011 16:28:41 +0000 (17:28 +0100)]
staging:iio:trigger push functions that don't need to be generaly available down into the core.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:trigger core. Trivial code cleanups.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:40 +0000 (17:28 +0100)]
staging:iio:trigger core. Trivial code cleanups.

Stop exporting functions only intended for core usage.
Return void from function which can never return anything other than 0.
Trivial stype cleanups.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio: spit trigger.h into provider and consumer parts.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:39 +0000 (17:28 +0100)]
staging:iio: spit trigger.h into provider and consumer parts.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:rename trigger_consumer.h to indicate it is core only.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:38 +0000 (17:28 +0100)]
staging:iio:rename trigger_consumer.h to indicate it is core only.

Need this out the way to create a trigger_consumer.h that actually is
for trigger consumers.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio: prevent removal of module connected to trigger.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:37 +0000 (17:28 +0100)]
staging:iio: prevent removal of module connected to trigger.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:pollfunc: Make explicit that private data is always pointer to a struct...
Jonathan Cameron [Wed, 24 Aug 2011 16:28:36 +0000 (17:28 +0100)]
staging:iio:pollfunc: Make explicit that private data is always pointer to a struct iio_dev.

This is always true, so lets make it explicit.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:trigger:sysfs trigger: Add a release function to avoid warning on module...
Jonathan Cameron [Wed, 24 Aug 2011 16:28:35 +0000 (17:28 +0100)]
staging:iio:trigger:sysfs trigger: Add a release function to avoid warning on module removal.

The device is static and should never actually be deleted. The release
is just to avoid a warning from the kernel.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:triggers reorder module put and device put to ensure that the ops are...
Jonathan Cameron [Wed, 24 Aug 2011 16:28:34 +0000 (17:28 +0100)]
staging:iio:triggers reorder module put and device put to ensure that the ops are still there if put results in device deletion.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging:iio:triggers. Add a reference get to the core for triggers.
Jonathan Cameron [Wed, 24 Aug 2011 16:28:33 +0000 (17:28 +0100)]
staging:iio:triggers. Add a reference get to the core for triggers.

This is to do with dynamically allocated triggers and the need to ensure
the underlying structures don't go away when a consumer is using them.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: adis16220_core.c: add module.h
Greg Kroah-Hartman [Wed, 24 Aug 2011 21:21:48 +0000 (14:21 -0700)]
staging: iio: adis16220_core.c: add module.h

This is needed and makes the linux-next merge easier.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rts5139: add vmalloc.h to some files to fix the build.
Greg Kroah-Hartman [Wed, 24 Aug 2011 21:19:17 +0000 (14:19 -0700)]
staging: rts5139: add vmalloc.h to some files to fix the build.

This is needed to fix the build on alpha and ppc at the least.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: edwin_rong <edwin_rong@realsil.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Convert typedefs that can be replaced with #define
Larry Finger [Wed, 20 Jul 2011 02:17:25 +0000 (21:17 -0500)]
staging: rtl8192e: Convert typedefs that can be replaced with #define

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_AGGRE_SIZE_E to enum ht_aggre_size
Larry Finger [Wed, 20 Jul 2011 02:10:02 +0000 (21:10 -0500)]
staging: rtl8192e: Convert typedef HT_AGGRE_SIZE_E to enum ht_aggre_size

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s
Larry Finger [Wed, 20 Jul 2011 02:07:59 +0000 (21:07 -0500)]
staging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef FW_CMD_IO_TYPE to enum fw_cmd_io_type
Larry Finger [Wed, 20 Jul 2011 02:06:24 +0000 (21:06 -0500)]
staging: rtl8192e: Convert typedef FW_CMD_IO_TYPE to enum fw_cmd_io_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef SCAN_OPERATION_BACKUP_OPT to enum scan_op_backup_opt
Larry Finger [Wed, 20 Jul 2011 02:04:56 +0000 (21:04 -0500)]
staging: rtl8192e: Convert typedef SCAN_OPERATION_BACKUP_OPT to enum scan_op_backup_opt

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type
Larry Finger [Wed, 20 Jul 2011 02:03:26 +0000 (21:03 -0500)]
staging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type
Larry Finger [Wed, 20 Jul 2011 02:02:02 +0000 (21:02 -0500)]
staging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_RF_POWER_STATE to enum rt_rf_power_state
Larry Finger [Wed, 20 Jul 2011 02:00:33 +0000 (21:00 -0500)]
staging: rtl8192e: Convert typedef RT_RF_POWER_STATE to enum rt_rf_power_state

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_JOIN_ACTION to enum rt_join_action
Larry Finger [Wed, 20 Jul 2011 01:59:09 +0000 (20:59 -0500)]
staging: rtl8192e: Convert typedef RT_JOIN_ACTION to enum rt_join_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_callback_function
Larry Finger [Wed, 20 Jul 2011 01:57:34 +0000 (20:57 -0500)]
staging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_callback_function

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode
Larry Finger [Wed, 20 Jul 2011 01:56:03 +0000 (20:56 -0500)]
staging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef Fsync_State to enum fsync_state
Larry Finger [Wed, 20 Jul 2011 01:54:40 +0000 (20:54 -0500)]
staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef erp_t to enum erp_t
Larry Finger [Wed, 20 Jul 2011 01:53:13 +0000 (20:53 -0500)]
staging: rtl8192e: Convert typedef erp_t to enum erp_t

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type
Larry Finger [Wed, 20 Jul 2011 01:51:54 +0000 (20:51 -0500)]
staging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode
Larry Finger [Wed, 20 Jul 2011 01:50:21 +0000 (20:50 -0500)]
staging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def
Larry Finger [Wed, 20 Jul 2011 01:48:58 +0000 (20:48 -0500)]
staging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef LED_CTL_MODE to enum led_ctl_mode
Larry Finger [Wed, 20 Jul 2011 01:47:28 +0000 (20:47 -0500)]
staging: rtl8192e: Convert typedef LED_CTL_MODE to enum led_ctl_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef InitialGainOpType to enum init_gain_op_type
Larry Finger [Wed, 20 Jul 2011 01:46:02 +0000 (20:46 -0500)]
staging: rtl8192e: Convert typedef InitialGainOpType to enum init_gain_op_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef BA_ACTION to enum ba_action
Larry Finger [Wed, 20 Jul 2011 01:29:12 +0000 (20:29 -0500)]
staging: rtl8192e: Convert typedef BA_ACTION to enum ba_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef TS_ACTION to enum ts_action
Larry Finger [Wed, 20 Jul 2011 01:27:45 +0000 (20:27 -0500)]
staging: rtl8192e: Convert typedef TS_ACTION to enum ts_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>