]> git.karo-electronics.de Git - mv-sheeva.git/log
mv-sheeva.git
13 years agoStaging: hv: Get rid of the function vmbus_msg_dpc()
K. Y. Srinivasan [Thu, 10 Mar 2011 22:04:53 +0000 (14:04 -0800)]
Staging: hv: Get rid of the function vmbus_msg_dpc()

vmbus_msg_dpc() was a  wrapper adding no additional value;
get rid of this function.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Mike Sterling <mike.sterling@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: Change the signature for vmbus_cleanup()
K. Y. Srinivasan [Thu, 10 Mar 2011 22:04:29 +0000 (14:04 -0800)]
Staging: hv: Change the signature for vmbus_cleanup()

As part of geting rid of hv_driver object from
vmbus_driver_context, change the signature of
vmbus_cleanup() function. Note that while
vmbus_cleanup() was passed a pointer to hv_driver,
this argument was unused.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Mike Sterling <mike.sterling@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: hv: Simplify root device management
K. Y. Srinivasan [Thu, 10 Mar 2011 22:03:51 +0000 (14:03 -0800)]
Staging: hv: Simplify root device management

As part of simplifying root device management,
get rid of the hv_driver object from
vmbus_driver_context.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Mike Sterling <mike.sterling@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Don't copy dev pointer to skb
Mike McCormack [Thu, 10 Mar 2011 13:41:06 +0000 (22:41 +0900)]
staging: rtl8192e: Don't copy dev pointer to skb

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass priv to cmdpkt functions
Mike McCormack [Thu, 10 Mar 2011 13:40:53 +0000 (22:40 +0900)]
staging: rtl8192e: Pass priv to cmdpkt functions

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass priv to firmware download functions
Mike McCormack [Thu, 10 Mar 2011 13:40:36 +0000 (22:40 +0900)]
staging: rtl8192e: Pass priv to firmware download functions

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass priv to rtl8192_interrupt
Mike McCormack [Thu, 10 Mar 2011 13:40:15 +0000 (22:40 +0900)]
staging: rtl8192e: Pass priv to rtl8192_interrupt

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass rtl8192_priv to dm functions
Mike McCormack [Thu, 10 Mar 2011 13:40:06 +0000 (22:40 +0900)]
staging: rtl8192e: Pass rtl8192_priv to dm functions

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass ieee80211_device to callbacks
Mike McCormack [Thu, 10 Mar 2011 13:39:50 +0000 (22:39 +0900)]
staging: rtl8192e: Pass ieee80211_device to callbacks

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass ieee80211_device to callbacks
Mike McCormack [Thu, 10 Mar 2011 13:34:06 +0000 (22:34 +0900)]
staging: rtl8192e: Pass ieee80211_device to callbacks

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass ieee80211_device to callbacks
Mike McCormack [Thu, 10 Mar 2011 13:33:57 +0000 (22:33 +0900)]
staging: rtl8192e: Pass ieee80211_device to callbacks

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass ieee80211_device to callbacks
Mike McCormack [Thu, 10 Mar 2011 13:33:47 +0000 (22:33 +0900)]
staging: rtl8192e: Pass ieee80211_device to callbacks

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass ieee80211_device to callbacks
Mike McCormack [Thu, 10 Mar 2011 13:33:36 +0000 (22:33 +0900)]
staging: rtl8192e: Pass ieee80211_device to callbacks

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Simplify rtl819x_ifcheck_resetornot
Mike McCormack [Thu, 10 Mar 2011 13:33:20 +0000 (22:33 +0900)]
staging: rtl8192e: Simplify rtl819x_ifcheck_resetornot

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Remove ifdefs and dead code
Mike McCormack [Thu, 10 Mar 2011 13:33:11 +0000 (22:33 +0900)]
staging: rtl8192e: Remove ifdefs and dead code

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Pass priv pointer to proc
Mike McCormack [Thu, 10 Mar 2011 13:33:01 +0000 (22:33 +0900)]
staging: rtl8192e: Pass priv pointer to proc

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Delete dead code
Mike McCormack [Thu, 10 Mar 2011 13:32:46 +0000 (22:32 +0900)]
staging: rtl8192e: Delete dead code

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Use better loop counter name
Mike McCormack [Thu, 10 Mar 2011 13:32:36 +0000 (22:32 +0900)]
staging: rtl8192e: Use better loop counter name

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Delete unused struct members
Mike McCormack [Thu, 10 Mar 2011 13:32:26 +0000 (22:32 +0900)]
staging: rtl8192e: Delete unused struct members

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Store mem_start in priv struct
Mike McCormack [Thu, 10 Mar 2011 13:32:16 +0000 (22:32 +0900)]
staging: rtl8192e: Store mem_start in priv struct

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Delete commented code
Mike McCormack [Thu, 10 Mar 2011 13:32:05 +0000 (22:32 +0900)]
staging: rtl8192e: Delete commented code

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Remove unused header
Mike McCormack [Thu, 10 Mar 2011 13:31:56 +0000 (22:31 +0900)]
staging: rtl8192e: Remove unused header

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: crystalhd: fix memory leaks
Alexander Beregalov [Sun, 13 Mar 2011 18:58:48 +0000 (21:58 +0300)]
staging: crystalhd: fix memory leaks

Free resources before exit.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: ste_rmi4: fix memory leaks
Alexander Beregalov [Sun, 13 Mar 2011 18:58:50 +0000 (21:58 +0300)]
staging: ste_rmi4: fix memory leaks

Free resources before exit.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: fix memory leaks
Alexander Beregalov [Sun, 13 Mar 2011 18:58:47 +0000 (21:58 +0300)]
staging: brcm80211: fix memory leaks

Free resources before exit.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge: protect dmm_map properly
Felipe Contreras [Sat, 12 Mar 2011 00:29:06 +0000 (18:29 -0600)]
staging: tidspbridge: protect dmm_map properly

We need to protect not only the dmm_map list, but the individual
map_obj's, otherwise, we might be building the scatter-gather list with
garbage. So, use the existing proc_lock for that.

I observed race conditions which caused kernel panics while running
stress tests, also, Tuomas Kulve found it happening quite often in
Gumstix Over. This patch fixes those.

Cc: Tuomas Kulve <tuomas@kulve.fi>
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: IIO: DAC: AD5624R: Consistency cleanup - no functional changes
Michael Hennerich [Thu, 10 Mar 2011 08:09:47 +0000 (09:09 +0100)]
Staging: IIO: DAC: AD5624R: Consistency cleanup - no functional changes

Consistently use indio_dev and access macro for devdata

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_DEVICE
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:12 +0000 (10:59 -0700)]
ath6kl: remove-typedef HIF_DEVICE

remove-typedef -s HIF_DEVICE \
"struct hif_device" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef AR_SOFTC_T
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:11 +0000 (10:59 -0700)]
ath6kl: remove-typedef AR_SOFTC_T

remove-typedef -s AR_SOFTC_T \
"struct ar6_softc" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef WINDOW_SNAPSHOT
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:10 +0000 (10:59 -0700)]
ath6kl: remove-typedef WINDOW_SNAPSHOT

remove-typedef -s WINDOW_SNAPSHOT \
"struct window_snapshot" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef ST_READ_STATUS
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:09 +0000 (10:59 -0700)]
ath6kl: remove-typedef ST_READ_STATUS

remove-typedef -s ST_READ_STATUS \
"struct st_read_status" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef ST_PS_DATA_FORMAT
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:08 +0000 (10:59 -0700)]
ath6kl: remove-typedef ST_PS_DATA_FORMAT

remove-typedef -s ST_PS_DATA_FORMAT \
"struct st_ps_data_format" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef RXTID_STATS
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:07 +0000 (10:59 -0700)]
ath6kl: remove-typedef RXTID_STATS

remove-typedef -s RXTID_STATS \
"struct rxtid_stats" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef RXTID
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:06 +0000 (10:59 -0700)]
ath6kl: remove-typedef RXTID

remove-typedef -s RXTID \
"struct rxtid" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef PSCmdPacket
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:05 +0000 (10:59 -0700)]
ath6kl: remove-typedef PSCmdPacket

remove-typedef -s PSCmdPacket \
"struct ps_cmd_packet" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef OSBUF_HOLD_Q
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:04 +0000 (10:59 -0700)]
ath6kl: remove-typedef OSBUF_HOLD_Q

remove-typedef -s OSBUF_HOLD_Q \
"struct osbuf_hold_q" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_TX_PACKET_INFO
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:03 +0000 (10:59 -0700)]
ath6kl: remove-typedef HTC_TX_PACKET_INFO

remove-typedef -s HTC_TX_PACKET_INFO \
"struct htc_tx_packet_info" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_TARGET
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:02 +0000 (10:59 -0700)]
ath6kl: remove-typedef HTC_TARGET

This required two passes:

remove-typedef -s _HTC_TARGET \
"struct htc_target" drivers/staging/ath6kl/

remove-typedef -s HTC_TARGET \
"struct htc_target" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_SERVICE_CONNECT_RESP
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:01 +0000 (10:59 -0700)]
ath6kl: remove-typedef HTC_SERVICE_CONNECT_RESP

remove-typedef -s HTC_SERVICE_CONNECT_RESP \
"struct htc_service_connect_resp" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_SERVICE_CONNECT_REQ
Luis R. Rodriguez [Mon, 14 Mar 2011 17:59:00 +0000 (10:59 -0700)]
ath6kl: remove-typedef HTC_SERVICE_CONNECT_REQ

remove-typedef -s HTC_SERVICE_CONNECT_REQ \
"struct htc_service_connect_req" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_RX_PACKET_INFO
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:59 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_RX_PACKET_INFO

remove-typedef -s HTC_RX_PACKET_INFO \
"struct htc_rx_packet_info" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_PACKET_QUEUE
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:58 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_PACKET_QUEUE

remove-typedef -s HTC_PACKET_QUEUE \
"struct htc_packet_queue" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_PACKET
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:57 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_PACKET

This required two passes:

remove-typedef -s HTC_PACKET \
"struct htc_packet" drivers/staging/ath6kl/

remove-typedef -s _HTC_PACKET \
"struct htc_packet" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_INIT_INFO
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:56 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_INIT_INFO

remove-typedef -s HTC_INIT_INFO \
"struct htc_init_info" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_FRAME_HDR
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:55 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_FRAME_HDR

remove-typedef -s HTC_FRAME_HDR \
"struct htc_frame_hdr" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_EP_CALLBACKS
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:54 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_EP_CALLBACKS

remove-typedef -s HTC_EP_CALLBACKS \
"struct htc_ep_callbacks" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_ENDPOINT_STATS
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:53 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_ENDPOINT_STATS

remove-typedef -s HTC_ENDPOINT_STATS \
"struct htc_endpoint_stats" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_ENDPOINT_CREDIT_DIST
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:52 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_ENDPOINT_CREDIT_DIST

This required two passes:

remove-typedef -s HTC_ENDPOINT_CREDIT_DIST \
"struct htc_endpoint_credit_dist" drivers/staging/ath6kl/

remove-typedef -s _HTC_ENDPOINT_CREDIT_DIST \
"struct htc_endpoint_credit_dist" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_ENDPOINT
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:51 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_ENDPOINT

remove-typedef -s HTC_ENDPOINT \
"struct htc_endpoint" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HTC_CONTROL_BUFFER
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:50 +0000 (10:58 -0700)]
ath6kl: remove-typedef HTC_CONTROL_BUFFER

remove-typedef -s HTC_CONTROL_BUFFER \
"struct htc_control_buffer" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_SCATTER_REQ
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:49 +0000 (10:58 -0700)]
ath6kl: remove-typedef HIF_SCATTER_REQ

This requird two passes:

remove-typedef -s HIF_SCATTER_REQ \
"struct hif_scatter_req" drivers/staging/ath6kl/

remove-typedef -s _HIF_SCATTER_REQ \
"struct hif_scatter_req" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_SCATTER_REQ_PRIV
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:48 +0000 (10:58 -0700)]
ath6kl: remove-typedef HIF_SCATTER_REQ_PRIV

remove-typedef -s HIF_SCATTER_REQ_PRIV \
"struct hif_scatter_req_priv" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_SCATTER_ITEM
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:47 +0000 (10:58 -0700)]
ath6kl: remove-typedef HIF_SCATTER_ITEM

remove-typedef -s HIF_SCATTER_ITEM \
"struct hif_scatter_item" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_PENDING_EVENTS_INFO
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:46 +0000 (10:58 -0700)]
ath6kl: remove-typedef HIF_PENDING_EVENTS_INFO

remove-typedef -s HIF_PENDING_EVENTS_INFO \
"struct hif_pending_events_info" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_MBOX_PROPERTIES
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:45 +0000 (10:58 -0700)]
ath6kl: remove-typedef HIF_MBOX_PROPERTIES

remove-typedef -s HIF_MBOX_PROPERTIES \
"struct hif_mbox_properties" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_DEVICE_SCATTER_SUPPORT_INFO
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:44 +0000 (10:58 -0700)]
ath6kl: remove-typedef HIF_DEVICE_SCATTER_SUPPORT_INFO

remove-typedef -s HIF_DEVICE_SCATTER_SUPPORT_INFO \
"struct hif_device_scatter_support_info" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_DEVICE_OS_DEVICE_INFO
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:43 +0000 (10:58 -0700)]
ath6kl: remove-typedef HIF_DEVICE_OS_DEVICE_INFO

remove-typedef -s HIF_DEVICE_OS_DEVICE_INFO \
"struct hif_device_os_device_info" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_DEVICE_MBOX_INFO
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:42 +0000 (10:58 -0700)]
ath6kl: remove-typedef HIF_DEVICE_MBOX_INFO

remove-typedef -s HIF_DEVICE_MBOX_INFO \
"struct hif_device_mbox_info" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HIF_DEVICE_IRQ_YIELD_PARAMS
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:41 +0000 (10:58 -0700)]
ath6kl: remove-typedef HIF_DEVICE_IRQ_YIELD_PARAMS

remove-typedef -s HIF_DEVICE_IRQ_YIELD_PARAMS \
"struct hif_device_irq_yield_params" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HCI_TRANSPORT_PROPERTIES
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:40 +0000 (10:58 -0700)]
ath6kl: remove-typedef HCI_TRANSPORT_PROPERTIES

remove-typedef -s HCI_TRANSPORT_PROPERTIES \
"struct hci_transport_properties" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HCI_TRANSPORT_MISC_HANDLES
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:39 +0000 (10:58 -0700)]
ath6kl: remove-typedef HCI_TRANSPORT_MISC_HANDLES

remove-typedef -s HCI_TRANSPORT_MISC_HANDLES \
"struct hci_transport_misc_handles" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HCI_TRANSPORT_CONFIG_INFO
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:38 +0000 (10:58 -0700)]
ath6kl: remove-typedef HCI_TRANSPORT_CONFIG_INFO

remove-typedef -s HCI_TRANSPORT_CONFIG_INFO \
"struct hci_transport_config_info" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef HCI_TRANSPORT_CALLBACKS
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:37 +0000 (10:58 -0700)]
ath6kl: remove-typedef HCI_TRANSPORT_CALLBACKS

remove-typedef -s HCI_TRANSPORT_CALLBACKS \
"struct hci_transport_callbacks" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-typedef GMBOX_PROTO_HCI_UART
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:36 +0000 (10:58 -0700)]
ath6kl: remove-typedef GMBOX_PROTO_HCI_UART

remove-typedef -s GMBOX_PROTO_HCI_UART \
"struct gmbox_proto_hci_uart" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoath6kl: remove-tyepdef DL_LIST and PDL_LIST pointer
Luis R. Rodriguez [Mon, 14 Mar 2011 17:58:35 +0000 (10:58 -0700)]
ath6kl: remove-tyepdef DL_LIST and PDL_LIST pointer

This required two passes:

remove-typedef -s DL_LIST "struct dl_list" \
drivers/staging/ath6kl/
remove-typedef -s PDL_LIST "struct dl_list *" \
drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: wlan-ng: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:17 +0000 (00:29 -0500)]
staging: wlan-ng: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: winbond: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:16 +0000 (00:29 -0500)]
staging: winbond: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: vt6656: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:15 +0000 (00:29 -0500)]
staging: vt6656: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: vt6655: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:14 +0000 (00:29 -0500)]
staging: vt6655: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: vme: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:13 +0000 (00:29 -0500)]
staging: vme: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: usbip: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:12 +0000 (00:29 -0500)]
staging: usbip: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:11 +0000 (00:29 -0500)]
staging: tidspbridge: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: speakup: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:10 +0000 (00:29 -0500)]
staging: speakup: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: serqt_usb2: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:09 +0000 (00:29 -0500)]
staging: serqt_usb2: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8712: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:08 +0000 (00:29 -0500)]
staging: rtl8712: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192u: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:07 +0000 (00:29 -0500)]
staging: rtl8192u: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8192e: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:06 +0000 (00:29 -0500)]
staging: rtl8192e: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rtl8187se: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:05 +0000 (00:29 -0500)]
staging: rtl8187se: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: rt2860: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:04 +0000 (00:29 -0500)]
staging: rt2860: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: pohmelfs: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:03 +0000 (00:29 -0500)]
staging: pohmelfs: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: line6: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:02 +0000 (00:29 -0500)]
staging: line6: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: keucr: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:29:01 +0000 (00:29 -0500)]
staging: keucr: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: go7007: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:28:59 +0000 (00:28 -0500)]
staging: go7007: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: cx25821: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:28:58 +0000 (00:28 -0500)]
staging: cx25821: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: comedi: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:28:57 +0000 (00:28 -0500)]
staging: comedi: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:28:56 +0000 (00:28 -0500)]
staging: brcm80211: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: bcm: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:28:55 +0000 (00:28 -0500)]
staging: bcm: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: ath6kl: Remove NULL check before kfree
Ilia Mirkin [Sun, 13 Mar 2011 05:28:54 +0000 (00:28 -0500)]
staging: ath6kl: Remove NULL check before kfree

This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: clean up register function variable names
Aaro Koskinen [Sun, 13 Mar 2011 10:26:28 +0000 (12:26 +0200)]
staging: xgifb: clean up register function variable names

Eliminate mixed case from variable names.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: clean up register access types
Aaro Koskinen [Sun, 13 Mar 2011 10:26:27 +0000 (12:26 +0200)]
staging: xgifb: clean up register access types

Make type usage consistent. Use u8 for HW registers and unsigned for
bitmasks.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: rename XGINew_SetRegAND() to xgifb_reg_and()
Aaro Koskinen [Sun, 13 Mar 2011 10:26:26 +0000 (12:26 +0200)]
staging: xgifb: rename XGINew_SetRegAND() to xgifb_reg_and()

Rename XGINew_SetRegAND() to xgifb_reg_and().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: rename XGINew_SetRegANDOR() to xgifb_reg_and_or()
Aaro Koskinen [Sun, 13 Mar 2011 10:26:25 +0000 (12:26 +0200)]
staging: xgifb: rename XGINew_SetRegANDOR() to xgifb_reg_and_or()

Rename XGINew_SetRegANDOR() to xgifb_reg_and_or().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: rename XGINew_SetRegOR() to xgifb_reg_or()
Aaro Koskinen [Sun, 13 Mar 2011 10:26:24 +0000 (12:26 +0200)]
staging: xgifb: rename XGINew_SetRegOR() to xgifb_reg_or()

Rename XGINew_SetRegOR() to xgifb_reg_or().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: rename XGINew_GetReg1() to xgifb_reg_get()
Aaro Koskinen [Sun, 13 Mar 2011 10:26:23 +0000 (12:26 +0200)]
staging: xgifb: rename XGINew_GetReg1() to xgifb_reg_get()

Rename XGINew_GetReg1() to xgifb_reg_get().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: rename XGINew_SetReg1() to xgifb_reg_set()
Aaro Koskinen [Sun, 13 Mar 2011 10:26:22 +0000 (12:26 +0200)]
staging: xgifb: rename XGINew_SetReg1() to xgifb_reg_set()

Rename XGINew_SetReg1() to xgifb_reg_set().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: replace XGINew_SetReg4() with outl()
Aaro Koskinen [Sun, 13 Mar 2011 10:26:21 +0000 (12:26 +0200)]
staging: xgifb: replace XGINew_SetReg4() with outl()

Replace XGINew_SetReg4() with outl().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: replace XGINew_SetReg3() with outb()
Aaro Koskinen [Sun, 13 Mar 2011 10:26:20 +0000 (12:26 +0200)]
staging: xgifb: replace XGINew_SetReg3() with outb()

Replace XGINew_SetReg3() with outb().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: replace XGINew_GetReg3() with inl()
Aaro Koskinen [Sun, 13 Mar 2011 10:26:19 +0000 (12:26 +0200)]
staging: xgifb: replace XGINew_GetReg3() with inl()

Replace XGINew_GetReg3() with inl().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: replace XGINew_GetReg2() with inb()
Aaro Koskinen [Sun, 13 Mar 2011 10:26:18 +0000 (12:26 +0200)]
staging: xgifb: replace XGINew_GetReg2() with inb()

Replace XGINew_GetReg2() with inb().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: xgifb: vb_util: delete commented-out code
Aaro Koskinen [Sun, 13 Mar 2011 10:26:17 +0000 (12:26 +0200)]
staging: xgifb: vb_util: delete commented-out code

Delete commented-out code.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>