linux/drivers/usb/misc
Jiri Slaby d705ff3818 tty: vt, cleanup and document con_scroll
Scrolling helpers scrup and scrdown both accept 'top' and 'bottom' as
unsigned int. Number of lines 'nr' is accepted as int, but all callers
pass down unsigned too. So change the type of 'nr' to unsigned too.
Now, promote unsigned int from the helpers up to the con_scroll
hook which actually accepted all those as signed int.

Next, the 'dir' parameter can have only two values and we define
constants for that: SM_UP and SM_DOWN. Switch them to enum and do
proper type checking on 'dir' too.

Finally, document the behaviour of the hook.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Cc: <linux-fbdev@vger.kernel.org>
Cc: <linux-usb@vger.kernel.org>
Cc: <linux-parisc@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-27 16:37:43 +02:00
..
sisusbvga tty: vt, cleanup and document con_scroll 2016-10-27 16:37:43 +02:00
adutux.c usb: misc: adutux: don't print on ENOMEM 2016-08-30 19:17:37 +02:00
appledisplay.c usb: misc: appledisplay: don't print on ENOMEM 2016-08-30 19:17:37 +02:00
chaoskey.c hwrng: chaoskey - Fix URB warning due to timeout on Alea 2016-06-07 18:42:44 +08:00
cypress_cy7c63.c usb: misc: cypress_cy7c63: don't print on ENOMEM 2016-08-30 19:17:37 +02:00
cytherm.c usb: misc: cytherm: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
ehset.c usb: ehci: Add support for SINGLE_STEP_SET_FEATURE test of EHSET 2013-08-12 13:13:32 -07:00
emi26.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
emi62.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
ezusb.c ezusb: constify local structures 2016-09-13 17:24:24 +02:00
ftdi-elan.c usb: misc: ftdi-elan: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
idmouse.c usb: misc: idmouse: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
iowarrior.c usb: misc: iowarrior: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
isight_firmware.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb 2012-01-09 12:09:47 -08:00
Kconfig usb: misc: Add driver for usb4604 2016-08-09 15:49:01 +02:00
ldusb.c usb: misc: ldusb: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
legousbtower.c usb: misc: legousbtower: Fix NULL pointer deference 2016-09-21 18:31:18 +02:00
lvstest.c usb: misc: lvstest: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
Makefile usb: misc: Add driver for usb4604 2016-08-09 15:49:01 +02:00
rio500_usb.h
rio500.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
trancevibrator.c usb: misc: trancevibrator: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
ucsi.c usb: Add driver for UCSI 2016-04-29 15:29:18 -07:00
ucsi.h usb: Add driver for UCSI 2016-04-29 15:29:18 -07:00
usb3503.c usb: misc: usb3503: Clean up on driver unbind 2016-06-07 22:19:59 -07:00
usb4604.c usb: misc: Add driver for usb4604 2016-08-09 15:49:01 +02:00
usb_u132.h
usblcd.c usb: misc: usblcd: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
usbsevseg.c usb: misc: usbsevseg: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
usbtest.c usb: misc: usbtest: add fix for driver hang 2016-08-11 18:31:51 +02:00
uss720.c usb: misc: uss720: don't print on ENOMEM 2016-08-30 19:17:38 +02:00
yurex.c usb: misc: yurex: don't print on ENOMEM 2016-08-30 19:17:38 +02:00