linux/drivers/soc
Simon Horman 413552b360 soc: ti: pruss: Avoid cast to incompatible function type
Rather than casting clk_unregister_mux to an incompatible function
type provide a trivial wrapper with the correct signature for the
use-case.

Reported by clang-16 with W=1:

 drivers/soc/ti/pruss.c:158:38: error: cast from 'void (*)(struct clk *)' to 'void (*)(void *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
         ret = devm_add_action_or_reset(dev, (void(*)(void *))clk_unregister_mux,

No functional change intended.
Compile tested only.

Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20230418-pruss-clk-cb-v1-1-549a7e7febe4@kernel.org
Signed-off-by: Nishanth Menon <nm@ti.com>
2023-05-17 09:13:05 -05:00
..
actions
amlogic Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
apple modules-6.4-rc1 2023-04-27 16:36:55 -07:00
aspeed
atmel ARM: at91: add support in soc driver for new SAMA7G54 SiPs 2023-01-09 13:58:02 +02:00
bcm soc: bcm: brcmstb: biuctrl: fix of_iomap leak 2023-04-03 13:37:24 -07:00
canaan soc: canaan: Make K210_SYSCTL depend on CLK_K210 2023-03-15 14:22:53 +00:00
dove
fsl sound updates for 6.4-rc1 2023-04-27 10:58:37 -07:00
fujitsu soc: fujitsu: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
gemini
imx soc: imx: imx8m-blk-ctrl: reordering the fields 2023-03-27 09:52:41 +08:00
ixp4xx ARM: ixp4xx: Replace 0-length arrays with flexible arrays 2023-01-19 15:18:19 -08:00
lantiq
litex
loongson soc: loongson: add GUTS driver for loongson-2 platforms 2022-11-14 16:01:32 +01:00
mediatek Devicetree updates for v6.4, part 2: 2023-04-27 10:09:05 -07:00
microchip soc: microchip: mpfs: add a prefix to rx_callback() 2023-04-03 20:32:43 +01:00
nuvoton soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
pxa pxa: Remove dev_err() after platform_get_irq() 2022-12-04 13:10:57 +01:00
qcom Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
renesas soc: renesas: renesas-soc: Release 'chipid' from ioremap() 2023-04-04 10:01:58 +02:00
rockchip soc: rockchip: power-domain: add power domain support for rk3588 2022-09-09 19:06:41 +02:00
samsung soc: s3c: remove pm-debug hack 2023-01-16 09:26:06 +01:00
sifive soc: sifive: ccache: Add StarFive JH7110 support 2022-12-26 22:50:15 +00:00
starfive soc: starfive: Add StarFive JH71XX pmu driver 2023-01-20 21:55:59 +00:00
sunxi kbuild, soc: sunxi: sram: remove MODULE_LICENSE in non-modules 2023-03-14 21:39:11 +01:00
tegra soc/tegra: cbb: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
ti soc: ti: pruss: Avoid cast to incompatible function type 2023-05-17 09:13:05 -05:00
ux500 ARM: ux500: do not directly dereference __iomem 2022-11-08 21:13:56 +01:00
versatile
xilinx firmware: xilinx: Remove kernel-doc marking in the code 2023-01-05 10:18:07 +01:00
Kconfig soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
Makefile soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00