openwrt/staging/blogic.git
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>
13 years agostaging: rtl8192e: Convert typedef ACT_CATEGORY to enum act_category
Larry Finger [Wed, 20 Jul 2011 01:26:18 +0000 (20:26 -0500)]
staging: rtl8192e: Convert typedef ACT_CATEGORY to enum act_category

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef dm_dig_sta_e to enum dm_dig_sta
Larry Finger [Wed, 20 Jul 2011 00:59:11 +0000 (19:59 -0500)]
staging: rtl8192e: Convert typedef dm_dig_sta_e to enum dm_dig_sta

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DBGP_FLAG_E to enum dbgp_flag
Larry Finger [Wed, 20 Jul 2011 00:57:24 +0000 (19:57 -0500)]
staging: rtl8192e: Convert typedef DBGP_FLAG_E to enum dbgp_flag

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef TWO_PORT_STATUS to enum two_port_status
Larry Finger [Wed, 20 Jul 2011 00:55:35 +0000 (19:55 -0500)]
staging: rtl8192e: Convert typedef TWO_PORT_STATUS to enum two_port_status

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RESET_TYPE to enum reset_type
Larry Finger [Wed, 20 Jul 2011 00:49:51 +0000 (19:49 -0500)]
staging: rtl8192e: Convert typedef RESET_TYPE to enum reset_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_CUSTOMER_ID to enum rt_customer_id
Larry Finger [Wed, 20 Jul 2011 00:42:55 +0000 (19:42 -0500)]
staging: rtl8192e: Convert typedef RT_CUSTOMER_ID to enum rt_customer_id

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_STATUS to enum rt_status
Larry Finger [Wed, 20 Jul 2011 00:41:16 +0000 (19:41 -0500)]
staging: rtl8192e: Convert typedef RT_STATUS to enum rt_status

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RF_STEP_E to enum rf_step
Larry Finger [Wed, 20 Jul 2011 00:39:12 +0000 (19:39 -0500)]
staging: rtl8192e: Convert typedef RF_STEP_E to enum rf_step

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_819xU to enum rt_rf_type_819xu
Larry Finger [Wed, 20 Jul 2011 00:37:46 +0000 (19:37 -0500)]
staging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_type_819xu

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DCMD_TXCMD_OP to enum dcmg_txcmd_op
Larry Finger [Wed, 20 Jul 2011 00:36:07 +0000 (19:36 -0500)]
staging: rtl8192e: Convert typedef DCMD_TXCMD_OP to enum dcmg_txcmd_op

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

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

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef TR_SELECT to enum tr_select
Larry Finger [Wed, 20 Jul 2011 00:31:37 +0000 (19:31 -0500)]
staging: rtl8192e: Convert typedef TR_SELECT to enum tr_select

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method
Larry Finger [Wed, 20 Jul 2011 00:30:04 +0000 (19:30 -0500)]
staging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method

Remove typedef from enum.
Rename enum.
Rename uses.

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