Skip to content

Commit 96f1a92

Browse files
committed
Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
# Conflicts: # drivers/staging/qlge/qlge_devlink.c
2 parents e8a3bc8 + 41196b0 commit 96f1a92

File tree

154 files changed

+2687
-45365
lines changed

Some content is hidden

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

154 files changed

+2687
-45365
lines changed

Documentation/networking/device_drivers/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Contents:
1515
ethernet/index
1616
fddi/index
1717
hamradio/index
18-
qlogic/index
1918
wifi/index
2019
wwan/index
2120

Documentation/networking/device_drivers/qlogic/index.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

Documentation/networking/device_drivers/qlogic/qlge.rst

Lines changed: 0 additions & 118 deletions
This file was deleted.

MAINTAINERS

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17696,15 +17696,6 @@ L: netdev@vger.kernel.org
1769617696
S: Supported
1769717697
F: drivers/net/ethernet/qlogic/qlcnic/
1769817698

17699-
QLOGIC QLGE 10Gb ETHERNET DRIVER
17700-
M: Manish Chopra <manishc@marvell.com>
17701-
M: GR-Linux-NIC-Dev@marvell.com
17702-
M: Coiby Xu <coiby.xu@gmail.com>
17703-
L: netdev@vger.kernel.org
17704-
S: Supported
17705-
F: Documentation/networking/device_drivers/qlogic/qlge.rst
17706-
F: drivers/staging/qlge/
17707-
1770817699
QM1D1B0004 MEDIA DRIVER
1770917700
M: Akihiro Tsukada <tskd08@gmail.com>
1771017701
L: linux-media@vger.kernel.org

arch/parisc/configs/generic-64bit_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ CONFIG_UIO_AEC=m
248248
CONFIG_UIO_SERCOS3=m
249249
CONFIG_UIO_PCI_GENERIC=m
250250
CONFIG_STAGING=y
251-
CONFIG_QLGE=m
252251
CONFIG_EXT2_FS=y
253252
CONFIG_EXT2_FS_XATTR=y
254253
CONFIG_EXT2_FS_SECURITY=y

drivers/staging/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ source "drivers/staging/wlan-ng/Kconfig"
2828

2929
source "drivers/staging/olpc_dcon/Kconfig"
3030

31-
source "drivers/staging/rtl8192u/Kconfig"
32-
3331
source "drivers/staging/rtl8192e/Kconfig"
3432

3533
source "drivers/staging/rtl8723bs/Kconfig"
@@ -74,8 +72,6 @@ source "drivers/staging/axis-fifo/Kconfig"
7472

7573
source "drivers/staging/fieldbus/Kconfig"
7674

77-
source "drivers/staging/qlge/Kconfig"
78-
7975
source "drivers/staging/vme_user/Kconfig"
8076

8177
endif # STAGING

drivers/staging/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
obj-y += media/
55
obj-$(CONFIG_PRISM2_USB) += wlan-ng/
66
obj-$(CONFIG_FB_OLPC_DCON) += olpc_dcon/
7-
obj-$(CONFIG_RTL8192U) += rtl8192u/
87
obj-$(CONFIG_RTL8192E) += rtl8192e/
98
obj-$(CONFIG_RTL8723BS) += rtl8723bs/
109
obj-$(CONFIG_R8712U) += rtl8712/
@@ -27,4 +26,3 @@ obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/
2726
obj-$(CONFIG_PI433) += pi433/
2827
obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/
2928
obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/
30-
obj-$(CONFIG_QLGE) += qlge/

drivers/staging/fbtft/fbtft.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,12 +310,11 @@ static int fbtft_driver_probe_pdev(struct platform_device *pdev) \
310310
return fbtft_probe_common(_display, NULL, pdev); \
311311
} \
312312
\
313-
static int fbtft_driver_remove_pdev(struct platform_device *pdev) \
313+
static void fbtft_driver_remove_pdev(struct platform_device *pdev) \
314314
{ \
315315
struct fb_info *info = platform_get_drvdata(pdev); \
316316
\
317317
fbtft_remove_common(&pdev->dev, info); \
318-
return 0; \
319318
} \
320319
\
321320
FBTFT_DT_TABLE(_compatible) \
@@ -329,7 +328,7 @@ static struct platform_driver fbtft_driver_platform_driver = { \
329328
.of_match_table = dt_ids, \
330329
}, \
331330
.probe = fbtft_driver_probe_pdev, \
332-
.remove = fbtft_driver_remove_pdev, \
331+
.remove_new = fbtft_driver_remove_pdev, \
333332
}; \
334333
\
335334
static int __init fbtft_driver_module_init(void) \

drivers/staging/fieldbus/anybuss/arcx-anybus.c

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,10 @@ static const struct regulator_desc can_power_desc = {
218218
.ops = &can_power_ops,
219219
};
220220

221-
static struct class *controller_class;
221+
static const struct class controller_class = {
222+
.name = "arcx_anybus_controller",
223+
};
224+
222225
static DEFINE_IDA(controller_index_ida);
223226

224227
static int controller_probe(struct platform_device *pdev)
@@ -301,7 +304,7 @@ static int controller_probe(struct platform_device *pdev)
301304
err = -ENOMEM;
302305
goto out_ida;
303306
}
304-
cd->class_dev->class = controller_class;
307+
cd->class_dev->class = &controller_class;
305308
cd->class_dev->groups = controller_attribute_groups;
306309
cd->class_dev->parent = dev;
307310
cd->class_dev->id = id;
@@ -351,20 +354,20 @@ static int __init controller_init(void)
351354
{
352355
int err;
353356

354-
controller_class = class_create("arcx_anybus_controller");
355-
if (IS_ERR(controller_class))
356-
return PTR_ERR(controller_class);
357+
err = class_register(&controller_class);
358+
if (err)
359+
return err;
357360
err = platform_driver_register(&controller_driver);
358361
if (err)
359-
class_destroy(controller_class);
362+
class_unregister(&controller_class);
360363

361364
return err;
362365
}
363366

364367
static void __exit controller_exit(void)
365368
{
366369
platform_driver_unregister(&controller_driver);
367-
class_destroy(controller_class);
370+
class_unregister(&controller_class);
368371
ida_destroy(&controller_index_ida);
369372
}
370373

drivers/staging/gdm724x/gdm_tty.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ static ssize_t gdm_tty_write(struct tty_struct *tty, const u8 *buf, size_t len)
160160

161161
while (remain) {
162162
size_t sending_len = min_t(size_t, MUX_TX_MAX_SIZE, remain);
163+
163164
gdm->tty_dev->send_func(gdm->tty_dev->priv_dev,
164165
(void *)(buf + sent_len),
165166
sending_len,

0 commit comments

Comments
 (0)