Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core update from Greg KH: "Here's the set of driver core patches for 3.19-rc1. They are dominated by the removal of the .owner field in platform drivers. They touch a lot of files, but they are "simple" changes, just removing a line in a structure. Other than that, a few minor driver core and debugfs changes. There are some ath9k patches coming in through this tree that have been acked by the wireless maintainers as they relied on the debugfs changes. Everything has been in linux-next for a while" * tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (324 commits) Revert "ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries" fs: debugfs: add forward declaration for struct device type firmware class: Deletion of an unnecessary check before the function call "vunmap" firmware loader: fix hung task warning dump devcoredump: provide a one-way disable function device: Add dev_<level>_once variants ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries ath: use seq_file api for ath9k debugfs files debugfs: add helper function to create device related seq_file drivers/base: cacheinfo: remove noisy error boot message Revert "core: platform: add warning if driver has no owner" drivers: base: support cpu cache information interface to userspace via sysfs drivers: base: add cpu_device_create to support per-cpu devices topology: replace custom attribute macros with standard DEVICE_ATTR* cpumask: factor out show_cpumap into separate helper function driver core: Fix unbalanced device reference in drivers_probe driver core: fix race with userland in device_add() sysfs/kernfs: make read requests on pre-alloc files use the buffer. sysfs/kernfs: allow attributes to request write buffer be pre-allocated. fs: sysfs: return EGBIG on write if offset is larger than file size ...
Esse commit está contido em:
@@ -237,7 +237,6 @@ static int pm860x_led_remove(struct platform_device *pdev)
|
||||
static struct platform_driver pm860x_led_driver = {
|
||||
.driver = {
|
||||
.name = "88pm860x-led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = pm860x_led_probe,
|
||||
.remove = pm860x_led_remove,
|
||||
|
@@ -201,7 +201,6 @@ static int adp5520_led_remove(struct platform_device *pdev)
|
||||
static struct platform_driver adp5520_led_driver = {
|
||||
.driver = {
|
||||
.name = "adp5520-led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = adp5520_led_probe,
|
||||
.remove = adp5520_led_remove,
|
||||
|
@@ -168,7 +168,6 @@ static struct platform_driver asic3_led_driver = {
|
||||
.remove = asic3_led_remove,
|
||||
.driver = {
|
||||
.name = "leds-asic3",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &asic3_led_pm_ops,
|
||||
},
|
||||
};
|
||||
|
@@ -168,7 +168,6 @@ static struct platform_driver clevo_mail_led_driver = {
|
||||
.remove = clevo_mail_led_remove,
|
||||
.driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -76,7 +76,6 @@ static struct platform_driver cobalt_qube_led_driver = {
|
||||
.remove = cobalt_qube_led_remove,
|
||||
.driver = {
|
||||
.name = "cobalt-qube-leds",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -124,7 +124,6 @@ static struct platform_driver cobalt_raq_led_driver = {
|
||||
.remove = cobalt_raq_led_remove,
|
||||
.driver = {
|
||||
.name = "cobalt-raq-leds",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -144,7 +144,6 @@ static int da903x_led_remove(struct platform_device *pdev)
|
||||
static struct platform_driver da903x_led_driver = {
|
||||
.driver = {
|
||||
.name = "da903x-led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = da903x_led_probe,
|
||||
.remove = da903x_led_remove,
|
||||
|
@@ -199,7 +199,6 @@ static int da9052_led_remove(struct platform_device *pdev)
|
||||
static struct platform_driver da9052_led_driver = {
|
||||
.driver = {
|
||||
.name = "da9052-leds",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = da9052_led_probe,
|
||||
.remove = da9052_led_remove,
|
||||
|
@@ -291,7 +291,6 @@ static struct platform_driver gpio_led_driver = {
|
||||
.remove = gpio_led_remove,
|
||||
.driver = {
|
||||
.name = "leds-gpio",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_gpio_leds_match,
|
||||
},
|
||||
};
|
||||
|
@@ -83,7 +83,6 @@ static struct platform_driver hp6xxled_driver = {
|
||||
.remove = hp6xxled_remove,
|
||||
.driver = {
|
||||
.name = "hp6xx-led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -766,7 +766,6 @@ static void lm3533_led_shutdown(struct platform_device *pdev)
|
||||
static struct platform_driver lm3533_led_driver = {
|
||||
.driver = {
|
||||
.name = "lm3533-leds",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = lm3533_led_probe,
|
||||
.remove = lm3533_led_remove,
|
||||
|
@@ -183,7 +183,6 @@ static struct platform_driver lp8788_led_driver = {
|
||||
.remove = lp8788_led_remove,
|
||||
.driver = {
|
||||
.name = LP8788_DEV_KEYLED,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
module_platform_driver(lp8788_led_driver);
|
||||
|
@@ -184,7 +184,6 @@ static struct platform_driver lt3593_led_driver = {
|
||||
.remove = lt3593_led_remove,
|
||||
.driver = {
|
||||
.name = "leds-lt3593",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -303,7 +303,6 @@ static int max8997_led_remove(struct platform_device *pdev)
|
||||
static struct platform_driver max8997_led_driver = {
|
||||
.driver = {
|
||||
.name = "max8997-led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max8997_led_probe,
|
||||
.remove = max8997_led_remove,
|
||||
|
@@ -325,7 +325,6 @@ MODULE_DEVICE_TABLE(platform, mc13xxx_led_id_table);
|
||||
static struct platform_driver mc13xxx_led_driver = {
|
||||
.driver = {
|
||||
.name = "mc13xxx-led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = mc13xxx_led_remove,
|
||||
.id_table = mc13xxx_led_id_table,
|
||||
|
@@ -119,7 +119,6 @@ static struct platform_driver menf21bmc_led = {
|
||||
.remove = menf21bmc_led_remove,
|
||||
.driver = {
|
||||
.name = "menf21bmc_led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -53,7 +53,6 @@ static struct platform_driver net48xx_led_driver = {
|
||||
.remove = net48xx_led_remove,
|
||||
.driver = {
|
||||
.name = DRVNAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -404,7 +404,6 @@ static struct platform_driver netxbig_led_driver = {
|
||||
.remove = netxbig_led_remove,
|
||||
.driver = {
|
||||
.name = "leds-netxbig",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -380,7 +380,6 @@ static struct platform_driver ns2_led_driver = {
|
||||
.remove = ns2_led_remove,
|
||||
.driver = {
|
||||
.name = "leds-ns2",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(of_ns2_leds_match),
|
||||
},
|
||||
};
|
||||
|
@@ -158,7 +158,6 @@ static struct platform_driver ot200_led_driver = {
|
||||
.remove = ot200_led_remove,
|
||||
.driver = {
|
||||
.name = "leds-ot200",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -232,7 +232,6 @@ static struct platform_driver led_pwm_driver = {
|
||||
.remove = led_pwm_remove,
|
||||
.driver = {
|
||||
.name = "leds_pwm",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_pwm_leds_match,
|
||||
},
|
||||
};
|
||||
|
@@ -53,7 +53,6 @@ static struct platform_driver rb532_led_driver = {
|
||||
.remove = rb532_led_remove,
|
||||
.driver = {
|
||||
.name = "rb532-led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -221,7 +221,6 @@ static int regulator_led_remove(struct platform_device *pdev)
|
||||
static struct platform_driver regulator_led_driver = {
|
||||
.driver = {
|
||||
.name = "leds-regulator",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = regulator_led_probe,
|
||||
.remove = regulator_led_remove,
|
||||
|
@@ -116,7 +116,6 @@ static struct platform_driver s3c24xx_led_driver = {
|
||||
.remove = s3c24xx_led_remove,
|
||||
.driver = {
|
||||
.name = "s3c24xx_led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -223,7 +223,6 @@ static struct platform_driver sunfire_clockboard_led_driver = {
|
||||
.remove = sunfire_led_generic_remove,
|
||||
.driver = {
|
||||
.name = "sunfire-clockboard-leds",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -232,7 +231,6 @@ static struct platform_driver sunfire_fhc_led_driver = {
|
||||
.remove = sunfire_led_generic_remove,
|
||||
.driver = {
|
||||
.name = "sunfire-fhc-leds",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@@ -312,7 +312,6 @@ static int wm831x_status_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm831x_status_driver = {
|
||||
.driver = {
|
||||
.name = "wm831x-status",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm831x_status_probe,
|
||||
.remove = wm831x_status_remove,
|
||||
|
@@ -272,7 +272,6 @@ static int wm8350_led_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm8350_led_driver = {
|
||||
.driver = {
|
||||
.name = "wm8350-led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8350_led_probe,
|
||||
.remove = wm8350_led_remove,
|
||||
|
@@ -111,7 +111,6 @@ static struct platform_driver wrap_led_driver = {
|
||||
.remove = wrap_led_remove,
|
||||
.driver = {
|
||||
.name = DRVNAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Referência em uma nova issue
Block a user