switch device_get_devnode() and ->devnode() to umode_t *
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Jul 2011 00:24:48 +0000 (20:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:54:55 +0000 (22:54 -0500)
commit2c9ede55ecec58099b72e4bb8eab719f32f72c31
tree8498a8c940fea97931b469fc73eb1a5022a2b28c
parent7d54fa6472609f2b0f2ea27e51ec2cf1fb27bd57
switch device_get_devnode() and ->devnode() to umode_t *

both callers of device_get_devnode() are only interested in lower 16bits
and nobody tries to return anything wider than 16bit anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
31 files changed:
arch/x86/kernel/cpuid.c
arch/x86/kernel/msr.c
block/bsg.c
block/genhd.c
drivers/base/core.c
drivers/base/devtmpfs.c
drivers/block/aoe/aoechr.c
drivers/block/pktcdvd.c
drivers/char/mem.c
drivers/char/misc.c
drivers/char/raw.c
drivers/char/tile-srom.c
drivers/gpu/drm/drm_sysfs.c
drivers/hid/usbhid/hiddev.c
drivers/infiniband/core/cm.c
drivers/infiniband/core/user_mad.c
drivers/infiniband/core/uverbs_main.c
drivers/input/input.c
drivers/media/dvb/ddbridge/ddbridge-core.c
drivers/media/dvb/dvb-core/dvbdev.c
drivers/media/rc/rc-main.c
drivers/tty/tty_io.c
drivers/usb/class/usblp.c
drivers/usb/core/file.c
drivers/usb/core/usb.c
drivers/usb/misc/iowarrior.c
drivers/usb/misc/legousbtower.c
include/linux/device.h
include/linux/genhd.h
include/linux/usb.h
sound/sound_core.c