summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-22staging: remove version.h include from dgrp/dgrp_sysfs.cJesper Juhl
The file uses nothing from linux/version.h, so the include is pointless - remove it. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22drm/omap: Remove cpu_is_omapXXXX usage in DMMAndy Gross
Removed usage of the cpu_is_omapXXXX in the DMM driver. This is no longer necessary as we can key off of the omap_dmm pointer that is only non-NULL if the device has been probed successfully. Signed-off-by: Andy Gross <andy.gross@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: silicom: fix up compiler warnings in bp_proc.cGreg Kroah-Hartman
This removes the compiler warnings for unused variables and functions in the bp_proc.c file. Cc: Chad Williamson <chad@dahc.us> Cc: Daniel Cotey <puff65537@bansheeslibrary.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: drm/omap: Fix include error during makeAndy Gross
Fixed include error for drm_mode.h Signed-off-by: Andy Gross <andy.gross@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: line6: drop unused line6_index and line6_id arraysStefan Hajnoczi
The line6 driver does not support 'index' and 'id' module parameters so there is no need to keep arrays for these values. Do what other sound drivers do and use the scalar constants instead of dummy arrays. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: line6: drop unused line6_devices[] arrayStefan Hajnoczi
There is no reason to limit the number of line6 devices. Drop the static array. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: ccg: rename ccg init and exit functions to conventional namesConstantine Shulyupin
Previous names of init and exit functions "init" and "cleanup" are unconventional and are not friendly for source navigation with tags. New names "ccg_init" and "ccg_exit" are conveninal and source navigation friendly. Signed-off-by: Constantine Shulyupin <const@MakeLinux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: silicom: fix explicit intialization of procfs_dir in bp_proc.cChad Williamson
Remove explicit intialization of static procfs_dir to NULL, resolving a checkpatch.pl error. Signed-off-by: Chad Williamson <chad@dahc.us> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: silicom: remove unnecessary braces in bp_proc.cChad Williamson
Remove unnecessary braces from single statement blocks in bp_proc.c, resolving checkpatch.pl warnings. Signed-off-by: Chad Williamson <chad@dahc.us> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: silicom: remove parentheses from return statements in bg_proc.cChad Williamson
Remove unnecessary parentheses from return statements in bg_proc.c to resolve checkpatch.pl errors. Signed-off-by: Chad Williamson <chad@dahc.us> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: silicom: fix C99 comments in bp_proc.cChad Williamson
Fix C99 // comments in bp_proc.c to resolve checkpatch.pl errors. Signed-off-by: Chad Williamson <chad@dahc.us> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: silicom: fix whitespace in bp_proc.cChad Williamson
Remove superfluous spaces in bp_proc.c to resolve checkpatch.pl errors. Signed-off-by: Chad Williamson <chad@dahc.us> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22drm/omap: fix issue w/ fb attached to multiple CRTCsRob Clark
When the fb is detached from one CRTC/plane, paddr was set back to zero. But really we don't want to do this because the fb could still be attached to other CRTC/plane(s). This originally worked like this to catch cases of freeing a pinned fb (but with the refcnt'ing this should no longer be needed). Also, there is checking in the GEM code for freeing a pinned GEM object, so this extra level of checking is redundant. Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22drm/omap: Fix release of refill engineAndy Gross
During asynchronous refills, we don't wait for the refill to finish. However, we cannot release the engine back to the idle list until it has actually completed the refill operation. The engine release will now be done in the IRQ handler, but only for asynchronous refill operations. Synchronous refills will continue to release the engine after they unblock from waiting on the refill. v2: Fixed review comments on async variable and bool type Signed-off-by: Andy Gross <andy.gross@ti.com> Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22drm/omap: Use writecombine for descriptorsAndy Gross
Use writecombine for descriptor and PAT programming memory. Signed-off-by: Andy Gross <andy.gross@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22drm/omap: Remove shadow lut usageAndy Gross
Removing extraneous shadow lut maintenance. There is no need for this to be in place until power management is added to the driver, and this extra copy degrades performance for no gain. Signed-off-by: Andy Gross <andy.gross@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: silicom: pointless check removalAlan Cox
bus_info is an array not a pointer. Fix silly if check Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: dgrp: fix some warningsAlan Cox
Just squashing these to get them out of the analysis queue. nd_ps_desc is an array not a pointer so comparing it with NULL is silly (be nice if gcc shouted about this). And there are some slightly pointless comparisons too. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Merge tag 'iio-for-3.8a' of ↵Greg Kroah-Hartman
git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next First round of new IIO drivers and cleanups for the 3.8 cycle. Here we have * New driver ad5449 with the introduction of a new IIO return type to simplify power of 2 dividers (extremely common case). * Some coccinelle warning fixing patches (dull but worthwhile as make for easier automated testing and cut down on false positives). * Some trivial bits of formatting cleanup and spelling corrections. * Use kcalloc in a few places for semantic reasons. * Stop lis3l02dq driver (soon to be dropped I hope) using now non existent irq_to_gpio. * Some dead code/unused variable removal * Convert a few drivers to generic core provided functions instead of their own versions. So all in all a nice new driver and a lot of worthy but dull cleanup.
2012-10-22Staging: csr: fix code indent coding style issues in csr_wifi_hip_signals.hSunhee Hwang
This is a patch that fixes up code indent coding style warnings in the csr_wifi_hip_signals.h found by checkpatch.pl tool. Signed-off-by: Sunhee Hwang <sunheehwang821@gmail.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: csr_wifi_router_ctrl_sef.c: fix line over 80 charactersJugwan Eom
This patch fixes line over 80 characters problem found by checkpatch.pl tool. Signed-off-by: Jugwan Eom <zugwan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: csr_wifi_router_ctrl_sef.c: fix tab messJugwan Eom
This patch converts spaces to tabs. Signed-off-by: Jugwan Eom <zugwan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: csr_wifi_router_ctrl_sef.c: fix up brace placementJugwan Eom
This patch fixes a brace placement error found by checkpatch.pl tool. Signed-off-by: Jugwan Eom <zugwan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_wifi_sme_sef.h: fixed indentation warningsSangho Yi
Fixed indentation warnings on comments Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_wifi_sme_serialize.h: fixed indentation warningsSangho Yi
Fixed indentation warnings from the comments. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_wifi_sme_sef.h: Fixed lines over 80 chars per lineSangho Yi
Fixed lines over 80 characters per line. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_wifi_sme_sef.h: Fixed from foo* bar to foo *barSangho Yi
Fixed coding style errors like foo* bar to foo *bar for the definition of input and output variables of the function interfaces. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_wifi_sme_serialize.h: fixed over 80 char linesSangho Yi
Appropriately modified the lines over 80 characters. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_wifi_sme_serialize.h: Fixed from foo* bar to foo *barSangho Yi
Fixed the coding style convention warnings for the statements of the pointer variable declaration. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_wifi_sme_task.h: fixed indentation coding styleSangho Yi
Removed coding style warnings occurred on the comments. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Drivers: Staging: CSR: fixed coding style errors in ↵Sangho Yi
csr_wifi_router_free_upstream_contents.c Originally there were a lot of coding style errors so, I cleaned up the coding style errors including braces and indentations. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: fix pointer(asterisk) position coding style issue in ↵Sunhee Hwang
sme_userspace.h This is a patch in the sme_userspace.h that fixes up a pointer(asterisk) position warning found by checkpatch.pl tool Signed-off-by: Sunhee Hwang <sunheehwang821@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_framework_ext_types.h: fix coding styleSeongJae Park
Fix coding style of csr_framework_ext_types.h     Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: CSR: csr_time.h: Removed unnecessary typedef structSangho Yi
I removed the unnecessary typedef struct from the csr_time.h. There is no actual usage of the typedef definition. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: CSR: csr_time.h: fixed indentation warnings based on coding styleSangho Yi
I fixed the indentation warnings on csr_time.h. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: data_tx: remove extra space in printkGreg Kroah-Hartman
This saves us 1 byte! Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: data_tx: fix up brace placementGreg Kroah-Hartman
This cleans up the brace placement coding issues. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: data_tx: clean up tab messGreg Kroah-Hartman
This patch converts spaces to tabs. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: csr_log_configure.h: clean up tab messHomin Lee
Signed-off-by: Homin Lee <homin.lee@suapapa.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: remove unused including <linux/version.h>Wei Yongjun
Remove including <linux/version.h> that don't need it. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: zram: correct obsolete comment on max_zpage_sizeMinchan Kim
Zram doesn't use xv_malloc any more so it doesn't have limitation about zobj_header. Signed-off-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: ste_rmi4: use module_i2c_driver to simplify the codeWei Yongjun
Use the module_i2c_driver() macro to make the code smaller and a bit simpler. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: usbip: Avoid superfluous set HC_STATE_RUNNING in vhci_startBernard Blackham
HC_STATE_RUNNING is already set by the usb core. Signed-off-by: Bernard Blackham <b-linuxgit@largestprime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: usbip: Don't leak struct file.Bernard Blackham
usbip takes a reference on a struct file which is passed in via sysfs. Previously, this reference was never cleaned up, although the socket it referred to was. This patch drops the corresponding reference (found with the socket's ->file backpointer) instead of just closing the socket. Signed-off-by: Bernard Blackham <b-linuxgit@largestprime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: usbip: cleanup of commentsBart Westgeest
Removed commented-out code, obsolete comments, and fixed comment typos. Signed-off-by: Bart Westgeest <bart@elbrys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: usbip: make rh_port_disconnect staticBart Westgeest
Signed-off-by: Bart Westgeest <bart@elbrys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: usbip: replaced pointer arithmetic, and strongly type function return.Bart Westgeest
Replaced pointer arithmetic by using array indexing, and changed function return type for usbip_alloc_iso_desc_pdu from 'void*' to 'struct usbip_iso_packet_descriptor'. Signed-off-by: Bart Westgeest <bart@elbrys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: crystalhd: fix a style warningDevendra Naga
we dont need braces around a single statement blocks style WARNINGS: drivers/staging/crystalhd/crystalhd_cmds.c:311: WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: r8712u: fix potential NULL pointer dereference in r871x_wps_start()Wei Yongjun
The dereference should be moved below the NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: ced1401: fix missing unlock on error in FreeCircBlock()Wei Yongjun
Add the missing unlock on the error handle path in function FreeCircBlock(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>