Skip to content

Commit 6417f03

Browse files
rleontorvalds
authored andcommitted
module: remove never implemented MODULE_SUPPORTED_DEVICE
MODULE_SUPPORTED_DEVICE was added in pre-git era and never was implemented. We can safely remove it, because the kernel has grown to have many more reliable mechanisms to determine if device is supported or not. Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e69beea commit 6417f03

File tree

175 files changed

+1
-480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+1
-480
lines changed

arch/x86/platform/iris/iris.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
MODULE_LICENSE("GPL");
2828
MODULE_AUTHOR("Sébastien Hinderer <Sebastien.Hinderer@ens-lyon.org>");
2929
MODULE_DESCRIPTION("A power_off handler for Iris devices from EuroBraille");
30-
MODULE_SUPPORTED_DEVICE("Eurobraille/Iris");
3130

3231
static bool force;
3332

drivers/atm/fore200e.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ static LIST_HEAD(fore200e_boards);
100100

101101
MODULE_AUTHOR("Christophe Lizzi - credits to Uwe Dannowski and Heikki Vatiainen");
102102
MODULE_DESCRIPTION("FORE Systems 200E-series ATM driver - version " FORE200E_VERSION);
103-
MODULE_SUPPORTED_DEVICE("PCA-200E, SBA-200E");
104-
105103

106104
static const int fore200e_rx_buf_nbr[ BUFFER_SCHEME_NBR ][ BUFFER_MAGN_NBR ] = {
107105
{ BUFFER_S1_NBR, BUFFER_L1_NBR },

drivers/block/floppy.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5091,7 +5091,6 @@ module_param(floppy, charp, 0);
50915091
module_param(FLOPPY_IRQ, int, 0);
50925092
module_param(FLOPPY_DMA, int, 0);
50935093
MODULE_AUTHOR("Alain L. Knaff");
5094-
MODULE_SUPPORTED_DEVICE("fd");
50955094
MODULE_LICENSE("GPL");
50965095

50975096
/* This doesn't actually get used other than for module information */

drivers/bluetooth/btrsi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,5 +194,4 @@ module_init(rsi_91x_bt_module_init);
194194
module_exit(rsi_91x_bt_module_exit);
195195
MODULE_AUTHOR("Redpine Signals Inc");
196196
MODULE_DESCRIPTION("RSI BT driver");
197-
MODULE_SUPPORTED_DEVICE("RSI-BT");
198197
MODULE_LICENSE("Dual BSD/GPL");

drivers/char/applicom.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ MODULE_DESCRIPTION("Driver for Applicom Profibus card");
8181
MODULE_LICENSE("GPL");
8282
MODULE_ALIAS_MISCDEV(AC_MINOR);
8383

84-
MODULE_SUPPORTED_DEVICE("ac");
85-
86-
8784
static struct applicom_board {
8885
unsigned long PhysIO;
8986
void __iomem *RamIO;

drivers/char/toshiba.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
MODULE_LICENSE("GPL");
6565
MODULE_AUTHOR("Jonathan Buzzard <jonathan@buzzard.org.uk>");
6666
MODULE_DESCRIPTION("Toshiba laptop SMM driver");
67-
MODULE_SUPPORTED_DEVICE("toshiba");
6867

6968
static DEFINE_MUTEX(tosh_mutex);
7069
static int tosh_fn;

drivers/input/joydev.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>");
2828
MODULE_DESCRIPTION("Joystick device interfaces");
29-
MODULE_SUPPORTED_DEVICE("input/js");
3029
MODULE_LICENSE("GPL");
3130

3231
#define JOYDEV_MINOR_BASE 0

drivers/media/firewire/firedtv-fw.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,4 +430,3 @@ MODULE_AUTHOR("Andreas Monitzer <andy@monitzer.com>");
430430
MODULE_AUTHOR("Ben Backx <ben@bbackx.com>");
431431
MODULE_DESCRIPTION("FireDTV DVB Driver");
432432
MODULE_LICENSE("GPL");
433-
MODULE_SUPPORTED_DEVICE("FireDTV DVB");

drivers/media/pci/cx18/cx18-alsa-main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ MODULE_PARM_DESC(debug,
4141

4242
MODULE_AUTHOR("Andy Walls");
4343
MODULE_DESCRIPTION("CX23418 ALSA Interface");
44-
MODULE_SUPPORTED_DEVICE("CX23418 MPEG2 encoder");
4544
MODULE_LICENSE("GPL");
4645

4746
MODULE_VERSION(CX18_VERSION);

drivers/media/pci/cx18/cx18-driver.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ MODULE_PARM_DESC(cx18_first_minor,
232232

233233
MODULE_AUTHOR("Hans Verkuil");
234234
MODULE_DESCRIPTION("CX23418 driver");
235-
MODULE_SUPPORTED_DEVICE("CX23418 MPEG2 encoder");
236235
MODULE_LICENSE("GPL");
237236

238237
MODULE_VERSION(CX18_VERSION);

0 commit comments

Comments
 (0)