alistair23-linux/drivers/net
Michał Mirosław 9f3b795a62 driver-core: constify data for class_find_device()
All in-kernel users of class_find_device() don't really need mutable
data for match callback.

In two places (kernel/power/suspend_test.c, drivers/scsi/osd/osd_uld.c)
this patch changes match callbacks to use const search data.

The const is propagated to rtc_class_open() and power_supply_get_by_name()
parameters.

Note that there's a dev reference leak in suspend_test.c that's not
touched in this patch.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-06 12:18:56 -08:00
..
appletalk
arcnet ARCNET: remove __dev* attributes 2012-12-03 11:16:10 -08:00
bonding bonding: do not cancel works in bond_uninit() 2012-12-14 13:14:07 -05:00
caif
can can: sja1000: fix compilation on x86 2012-12-15 17:14:38 -08:00
cris
dsa
ethernet drivers/net/ethernet/fujitsu: remove depends on CONFIG_EXPERIMENTAL 2013-01-22 12:33:47 -08:00
fddi drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
hamradio
hippi drivers/net/hippi: remove depends on CONFIG_EXPERIMENTAL 2013-01-22 12:01:34 -08:00
hyperv hyperv: Add an error message to rndis_filter_set_device_mac() 2012-11-30 15:02:56 -05:00
ieee802154 ieee802154: remove __dev* attributes 2012-12-03 11:16:56 -08:00
irda drivers/net/irda: remove depends on CONFIG_EXPERIMENTAL 2013-01-22 12:01:34 -08:00
phy driver-core: constify data for class_find_device() 2013-02-06 12:18:56 -08:00
plip
ppp drivers/net/ppp: remove depends on CONFIG_EXPERIMENTAL 2013-01-22 12:01:34 -08:00
slip
team drivers/net/team: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:41 -08:00
usb drivers/net/usb: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:41 -08:00
vmxnet3 vmxnet3: remove __dev* attributes 2012-12-03 11:17:06 -08:00
wan drivers/net/wan: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:41 -08:00
wimax i2400m: add Intel 6150 device IDs 2012-12-15 17:14:38 -08:00
wireless drivers/net/wireless/rtlwifi: remove depends on CONFIG_EXPERIMENTAL 2013-01-22 12:01:36 -08:00
xen-netback
dummy.c
eql.c
ifb.c
Kconfig drivers/net: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:07 -08:00
LICENSE.SRC
loopback.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c tuntap: fix leaking reference count 2013-01-11 19:42:02 -08:00
veth.c rtnelink: remove unused parameter from rtnl_create_link(). 2012-11-30 12:24:40 -05:00
virtio_net.c Some nice cleanups, and even a patch my wife did as a "live" demo for 2012-12-20 08:37:05 -08:00
vxlan.c vxlan: allow live mac address change 2013-01-03 01:58:13 -08:00
xen-netfront.c xen/netfront: improve truesize tracking 2013-01-07 19:51:19 -08:00