summaryrefslogtreecommitdiffstats
path: root/drivers/staging
Commit message (Collapse)AuthorAgeFilesLines
...
* | staging: rtl8192e: Remove rtl8192_rx_cmd()Mateusz Kulikowski2015-07-141-8/+0
| | | | | | | | | | | | | | Function is empty. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: probe: Remove bdma64 checkMateusz Kulikowski2015-07-141-3/+0
| | | | | | | | | | | | | | It is always false. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove rtl819x_process_cck_rxpathsel()Mateusz Kulikowski2015-07-143-10/+0
| | | | | | | | | | | | | | Function is empty. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove DMESG macroMateusz Kulikowski2015-07-144-10/+0
| | | | | | | | | | | | | | It is used in several places, but expands to nothing. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove read|write_nic_io_(d)word|byte()Mateusz Kulikowski2015-07-142-165/+0
| | | | | | | | | | | | | | | | None of this functions was used. Also remove PlatformIOCheckPageLegalAndGetRegMask() used by them. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove DOT11D_GetMaxTxPwrInDbm()Mateusz Kulikowski2015-07-142-16/+0
| | | | | | | | | | | | | | Function is not used. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove unused rtllib_device::freq_bandMateusz Kulikowski2015-07-141-1/+0
| | | | | | | | | | | | | | Member is never referenced. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove unused ether_header structureMateusz Kulikowski2015-07-141-6/+0
| | | | | | | | | | | | | | Structure is not used in the driver. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove rtllib_stats structureMateusz Kulikowski2015-07-143-9/+0
| | | | | | | | | | | | | | | | Two remaining fields of rtllib_stats are only incremented, but never read. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove unused fields from rtllib_statsMateusz Kulikowski2015-07-141-19/+0
| | | | | | | | | | | | | | None of them are used in the driver. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove unused enumsMateusz Kulikowski2015-07-142-11/+0
| | | | | | | | | | | | | | Remove ack_policy enum and some unused RTL_DEBUG enums. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove undefsMateusz Kulikowski2015-07-141-19/+0
| | | | | | | | | | | | | | They relate to macros that are not used in the driver. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove unused definesMateusz Kulikowski2015-07-1412-128/+0
| | | | | | | | | | | | | | Remove most of unused defines (excluding phyreg/hw registers). Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8192e: Remove ToLegalChannel()Mateusz Kulikowski2015-07-142-25/+0
| | | | | | | | | | | | | | Function is not used. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: Drop owner assignment from i2c_driverKrzysztof Kozlowski2015-07-141-1/+0
| | | | | | | | | | | | | | | | i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: style fix for octeon/ethernet-tx.cJacob Kiefer2015-07-141-4/+6
| | | | | | | | | | | | | | | | Broke line with greater than 80 characters into two lines and improved logical operator readability in hardware checksum if statement. Signed-off-by: Jacob Kiefer <jtk54@cornell.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | Staging: rts5208: Fix checkpatch warning: else is not generally usefulLeung Timothy Chi King2015-07-141-6/+5
| | | | | | | | | | | | | | | | | | The following checkpatch warning was fixed: WARNING: else is not generally useful after a break or return Signed-off-by: Leung Timothy Chi King <contact@timothyleung.co> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | Staging: ozwpan: ozusbsvc1.c: Fix missing blank line after declarationsJohannes Postma2015-07-141-0/+1
| | | | | | | | | | | | | | This patch fixes a missing line after declarations issue. Signed-off-by: Johannes Postma <jgmpostma@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8188eu: fold rtl8188e_read_chip_version() into ↵Jakub Sitnicki2015-07-141-9/+2
| | | | | | | | | | | | | | | | | | | | | | rtl8188e_SetHalODMVar() Both rtl8188e_read_chip_version() and ReadChipVersion8188E() are used only in one place. Make ReadChipVersion8188E() a void function and eliminate its wrapper - rtl8188e_read_chip_version(). Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8188eu: remove ROMVer from struct HAL_VERSIONJakub Sitnicki2015-07-143-5/+1
| | | | | | | | | | | | | | ROM version on RTL8188EU is always 0. Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8188eu: remove RFtype from struct HAL_VERSIONJakub Sitnicki2015-07-143-45/+3
| | | | | | | | | | | | | | | | | | RFtype in struct HAL_VERSION duplicates rf_type in struct hal_data_8188e, and does not change. Remove it and the macros that test it. Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8188eu: remove ICtype from struct HAL_VERSIONJakub Sitnicki2015-07-144-75/+2
| | | | | | | | | | | | | | | | IC type on RTL8188EU is always 8188E. Remove it and all the macros that check it. Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8188eu: remove RegulatorMode from struct hal_data_8188eJakub Sitnicki2015-07-142-10/+0
| | | | | | | | | | | | | | | | This field is not used anywhere. Also, kill the rt_regulator_mode enum which exists just for this field. Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8188eu: core: Fixed 80 character length warningSreenath Madasu2015-07-141-1/+2
| | | | | | | | | | | | | | | | | | When the checkpatch.pl script was run, it showed lines with length more than 80 characters in rtw_ap.c file. Fixed line number 382 by breaking it up into two lines within 80 characters. Signed-off-by: Sreenath Madasu <Sreenath.Madasu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8188eu: core: rtw_mlme: remove space before ','Sunil Shahu2015-07-141-5/+5
| | | | | | | | | | | | | | | | Fix coding style error by removing spaces before ',' as suggested by checkpatch.pl script. Signed-off-by: Sunil Shahu <shshahu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging:rtl8188eu: Code cleanup fix reported by coccinellePrasanna Karthik2015-07-141-1/+1
| | | | | | | | | | | | | | bool check modified Signed-off-by: Prasanna Karthik <mkarthi3@visteon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8188eu: don't duplicate ieee80211 WLAN_CAPABILITY_* constantsJakub Sitnicki2015-07-146-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | linux/ieee80211.h already defines constants for capability bits. Include it where needed, resolve discrepancies in naming, and remove the duplicated definitions. Also, make use of WLAN_CAPABILITY_IS_STA_BSS() macro to check if neither ESS nor IBSS capability bits are set. Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: sm7xxfb: use kernel commandlineSudip Mukherjee2015-07-141-2/+0
| | | | | | | | | | | | | | | | | | | | We were only using the kernel commandline to set the mode if this driver is builtin, but when it is built as a module we were not having any way to set the mode. Start using commandline even if it is built as a module. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: sm7xxfb: fix error handlingSudip Mukherjee2015-07-141-7/+8
| | | | | | | | | | | | | | | | | | We were checking smtc_regbaseaddress and that too at a place where it can never be NULL. Real check should be on sfb->lfb immediately after we do ioremap. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: sm7xxfb: remove unused macrosSudip Mukherjee2015-07-141-20/+0
| | | | | | | | | | | | | | These macros were only defined but not used anywhere. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: speakup: fix indentationLuis de Bethencourt2015-07-141-1/+1
| | | | | | | | | | Signed-off-by: Luis de Bethencourt <luis@debethencourt.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: mt29f_spinand: Remove redundant spi driver bus initializationAntonio Borneo2015-07-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_register_driver(), so we can drop the manual assignment. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: devel@driverdev.osuosl.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging/xgifb: Move register helper functions to headerPeter Huewe2015-07-143-48/+40
| | | | | | | | | | | | | | | | | | and mark them as static inline. This shrinks the compiled module from 137442 to 117732 bytes and we also get rid of vb_util.c Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: xgifb: prefer using the BIT macroHari Prasath Gujulan Elango2015-07-141-2/+2
| | | | | | | | | | | | | | This patch uses the BIT macro for bit shift operation. Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | rtl8712:Fix checkpatch warningRavi Teja Darbha2015-07-141-2/+2
| | | | | | | | | | | | | | Fix line over 80 characters warning. Signed-off-by: Ravi Teja Darbha <ravi2j@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: rtl8712: rtl871x_security.c: remove unnecessary variable initializationSunil Shahu2015-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | Variable "u32 c" always re-initialize in for loop. Initialized value of "u32 c" is not used in function and is redundant, hence removed. Suggested-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sunil Shahu <shshahu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | drivers: staging: rtl8712: remove unnecessary else statementSunil Shahu2015-07-141-19/+16
| | | | | | | | | | | | | | "else" statement after "if" is unnecessary, hence removed. Signed-off-by: Sunil Shahu <shshahu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: ft1000: convert pack pragma to __packedGiedrius Statkevičius2015-07-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | Convert a Microsoft compiler specific directive "#pragma pack(1)" to a GCC equivalent __packed. Also, by doing this we save ourselves from trouble if any other struct definitions are added after the #pragma because it will be applied to all of the definitions following it. Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: ft1000-usb: shorten lines to under 80 charactersPeter Karlsson2015-07-142-11/+22
| | | | | | | | | | | | | | Wrap function arguments to shorten lines to under 80 characters. Signed-off-by: Peter Karlsson <peter@zapto.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: ft1000-usb: fixed table alignmentPeter Karlsson2015-07-141-6/+13
| | | | | | | | | | | | | | Fixed alignment to 8 bytes per line. Signed-off-by: Peter Karlsson <peter@zapto.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | Staging: rtl8192u: Replace memset with eth_zero_addrVaishali Thakkar2015-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use eth_zero_addr to assign the zero address to the given address array instead of memset when second argument is address of zero. Note that the 6 in the third argument of memset appears to represent an ethernet address size (ETH_ALEN). The Coccinelle semantic patch that makes this change is as follows: // <smpl> @eth_zero_addr@ expression e; @@ -memset(e,0x00,6); +eth_zero_addr(e); // </smpl> Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | drivers: staging: rtl8192u: Fix "space required after that ','" errorsGreg Donald2015-07-144-5/+5
| | | | | | | | | | | | | | Fix checkpatch.pl "space required after that ','" errors Signed-off-by: Greg Donald <gdonald@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging:rtl8723au:odm.c:Removing trailing whitespacesJoglekar Tejas2015-07-141-1/+1
| | | | | | | | | | | | | | | | | | This patch removes the trailing whitespace error given by checkpatch.pl Signed-off-by: Joglekar Tejas <tjogleka@visteon.com> Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | Staging: vt6655: Remove do { } while (0) from single-statement macros in upc.h.Nicholas Parkanyi2015-07-141-24/+12
| | | | | | | | | | | | | | | | This patch fixes checkpatch.pl warnings in upc.h regarding single-statement macros embedded within do { } while (0) blocks. Signed-off-by: Nicholas Parkanyi <n.parkanyi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | Staging: vt6655: Replace C99 comments in rf.h and rf.c.Nicholas Parkanyi2015-07-142-278/+278
| | | | | | | | | | | | | | | | This patch replaces C99 comments in rf.h and rf.c, with C89 comments, fixing the checkpatch.pl errors. Signed-off-by: Nicholas Parkanyi <n.parkanyi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: vt6655: Fix missing power saving supportMalcolm Priestley2015-07-141-0/+1
| | | | | | | | | | | | | | | | Add IEEE80211_HW_SUPPORTS_PS to ieee80211_hw flags enabling this feature. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: vt6655: Correct listen interval TBTT wake upMalcolm Priestley2015-07-142-4/+13
| | | | | | | | | | | | | | | | | | | | | | PSbIsNextTBTTWakeUp is called at beacon intervals. The should listen to next beacon on count down of wake_up_count == 1. This restores this back to vendors code but modified for mac80211. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: vt6655: vnt_tx_packet don't wakeup from power saving.Malcolm Priestley2015-07-141-3/+0
| | | | | | | | | | | | | | mac80211 changes the wake state before attempting to tx data Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | staging: vt6656: Fixed two lines over 80 characters longArjun Krishna Babu2015-07-141-2/+5
| | | | | | | | | | | | | | | | | | | | The presence of comments originally caused the two lines to be over 80 characters long. The issue is fixed by moving the comments into a separate line. Signed-off-by: Arjun Krishna Babu <arjunkrishnababu96@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | Staging: fbtft: Add support for the Ultrachip UC1611 LCD controllerHenri Chain2015-07-144-0/+388
| | | | | | | | | | | | | | | | | | | | This is a driver chip for 240x160 4-bit greyscale LCDs. It is capable of 4-wire (8 bit) or 3-wire (9 bit) SPI that have both been tested. (It also has a 6800 or 8080-style parallel interface, but I have not included support for it.) Signed-off-by: Henri Chain <henri.chain@eleves.ec-nantes.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
OpenPOWER on IntegriCloud