Pull char/misc and other driver subsystem updates from Greg KH: "Here is the big set of char/misc and a number of other driver subsystem updates for 6.9-rc1. Included in here are: - IIO driver updates, loads of new ones and evolution of existing ones - coresight driver updates - const cleanups for many driver subsystems - speakup driver additions - platform remove callback void cleanups - mei driver updates - mhi driver updates - cdx driver updates for MSI interrupt handling - nvmem driver updates - other smaller driver updates and cleanups, full details in the shortlog All of these have been in linux-next for a long time with no reported issue, other than a build warning for the speakup driver" The build warning hits clang and is a gcc (and C23) extension, and is fixed up in the merge. Link: https://lore.kernel.org/all/20240321134831.GA2762840@dev-arch.thelio-3990X/ * tag 'char-misc-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (279 commits) binder: remove redundant variable page_addr uio_dmem_genirq: UIO_MEM_DMA_COHERENT conversion uio_pruss: UIO_MEM_DMA_COHERENT conversion cnic,bnx2,bnx2x: use UIO_MEM_DMA_COHERENT uio: introduce UIO_MEM_DMA_COHERENT type cdx: add MSI support for CDX bus pps: use cflags-y instead of EXTRA_CFLAGS speakup: Add /dev/synthu device speakup: Fix 8bit characters from direct synth parport: sunbpp: Convert to platform remove callback returning void parport: amiga: Convert to platform remove callback returning void char: xillybus: Convert to platform remove callback returning void vmw_balloon: change maintainership MAINTAINERS: change the maintainer for hpilo driver char: xilinx_hwicap: Fix NULL vs IS_ERR() bug hpet: remove hpets::hp_clocksource platform: goldfish: move the separate 'default' propery for CONFIG_GOLDFISH char: xilinx_hwicap: drop casting to void in dev_set_drvdata greybus: move is_gb_* functions out of greybus.h greybus: Remove usage of the deprecated ida_simple_xx() API ...
Showing the changes to drivers/char (3 of 305 files). Show all
Unified · Split
| @@ -87,7 +87,6 @@ struct hpets { · 86 unmodified lines | ||
| 87 | 87 | struct hpets *hp_next; |
| 88 | 88 | struct hpet __iomem *hp_hpet; |
| 89 | 89 | unsigned long hp_hpet_phys; |
| 90 | − struct clocksource *hp_clocksource; | |
| 91 | 90 | unsigned long long hp_tick_freq; |
| 92 | 91 | unsigned long hp_delta; |
| 93 | 92 | unsigned int hp_ntimer; |
| @@ -636,11 +636,11 @@ static int hwicap_setup(struct platform_device *pdev, int id, · 635 unmodified lines | ||
| 636 | 636 | retval = -ENOMEM; |
| 637 | 637 | goto failed; |
| 638 | 638 | } |
| 639 | − dev_set_drvdata(dev, (void *)drvdata); | |
| 639 | + dev_set_drvdata(dev, drvdata); | |
| 640 | 640 | |
| 641 | 641 | drvdata->base_address = devm_platform_ioremap_resource(pdev, 0); |
| 642 | − if (!drvdata->base_address) { | |
| 643 | − retval = -ENODEV; | |
| 642 | + if (IS_ERR(drvdata->base_address)) { | |
| 643 | + retval = PTR_ERR(drvdata->base_address); | |
| 644 | 644 | goto failed; |
| 645 | 645 | } |
| 646 | 646 | |
| @@ -64,19 +64,17 @@ static int xilly_drv_probe(struct platform_device *op) · 63 unmodified lines | ||
| 64 | 64 | return xillybus_endpoint_discovery(endpoint); |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | −static int xilly_drv_remove(struct platform_device *op) | |
| 67 | +static void xilly_drv_remove(struct platform_device *op) | |
| 68 | 68 | { |
| 69 | 69 | struct device *dev = &op->dev; |
| 70 | 70 | struct xilly_endpoint *endpoint = dev_get_drvdata(dev); |
| 71 | 71 | |
| 72 | 72 | xillybus_endpoint_remove(endpoint); |
| 73 | − | |
| 74 | − return 0; | |
| 75 | 73 | } |
| 76 | 74 | |
| 77 | 75 | static struct platform_driver xillybus_platform_driver = { |
| 78 | 76 | .probe = xilly_drv_probe, |
| 79 | − .remove = xilly_drv_remove, | |
| 77 | + .remove_new = xilly_drv_remove, | |
| 80 | 78 | .driver = { |
| 81 | 79 | .name = xillyname, |
| 82 | 80 | .of_match_table = xillybus_of_match, |