mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-23 21:27:36 -04:00
Merge tag 'sunxi-drivers-for-6.4-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into soc/drivers
- remove MODULE_LICENSE from sram driver - use of_property_present() in mbus driver * tag 'sunxi-drivers-for-6.4-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: kbuild, soc: sunxi: sram: remove MODULE_LICENSE in non-modules soc: sunxi: Use of_property_present() for testing DT property presence Link: https://lore.kernel.org/r/20230408125255.GA17134@jernej-laptop Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -82,7 +82,7 @@ static int sunxi_mbus_notifier(struct notifier_block *nb,
|
||||
* Older DTs or SoCs who are not clearly understood need to set
|
||||
* that DMA offset though.
|
||||
*/
|
||||
if (of_find_property(dev->of_node, "interconnects", NULL))
|
||||
if (of_property_present(dev->of_node, "interconnects"))
|
||||
return NOTIFY_DONE;
|
||||
|
||||
ret = dma_direct_set_offset(dev, PHYS_OFFSET, 0, SZ_4G);
|
||||
|
||||
@@ -424,4 +424,3 @@ builtin_platform_driver_probe(sunxi_sram_driver, sunxi_sram_probe);
|
||||
|
||||
MODULE_AUTHOR("Maxime Ripard <maxime.ripard@free-electrons.com>");
|
||||
MODULE_DESCRIPTION("Allwinner sunXi SRAM Controller Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
Reference in New Issue
Block a user