- remove MODULE_LICENSE from sram driver

- use of_property_present() in mbus driver
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQSPRixG1tysKC2PKM10Ba7+DO8kkwUCZDFiuAAKCRB0Ba7+DO8k
 kzv9AP9wGfV7hA/sXxCrXxEtWCuSZFb5Q8mFEqJ69TyjwOtdkgEA34dGf1/KBErf
 Awkeg2wkvFfkOmypF/hvruyLnuIXFwM=
 =QsS4
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmQ5R8wACgkQYKtH/8kJ
 UietThAAsuKj+edywWIDO7cIm+latPuifS6+dYX5RlhA7hoUIRJ1NvAQSafvy1Ka
 q8hicrwROb25UCVHup0PRd45uHOxUcJSKMRaGUiqK+CsxX/xNr2C7JR3gSzJWl+G
 PcTtNJ/C3BfXWtxgYYV7keLkRkmNm6oW8Flinq3RIlvXu9IX5o4nmuMTWkvr4eev
 CQnib56lho8xIsC7i9UcJ5UEv8j+EyGsoCUwRx5t3uJM4nYhXNh9dG1zxkw3F4Ye
 sFtp6CFASTzeNXn9KIgBFRtxm28WJk5an9Sa9sx3FjU8SYD8fybemEg1yva0yGcU
 0/3MDNC8bZwEOe6YY8Y6MvlwqnqJzRXqovHF7tflM9dhD/Z+8IKlGNCI51puNvaw
 7epOfaBFR2SWgne16prfHCCA+2BXUwrxyW0YBtCdyQRJ2arPpY2ua8rm9qZr8PJk
 Gp0qBf+ZZP7LmX2Snr4vD9bIGe/U6un+WpfPiXyTYDKQZZ6m3XC2QU6GTlr/w5SH
 yKlYd5C4KHP2AdGFDflD6wZGdbfi2rktaBmrDpjLz6uwWoPAlQrTWgrTWyLg8ob/
 FNTWL65YTkj70n/6+xbJnY7dCb4QP5W9eaX3GZtU46kBzAx5Ddh5bSgZnCaFsxoj
 CMyWotMBKhaPTyzZz0gTfqtJrwhwUO7lJCsVKF0U8b8mIBFlUWI=
 =k6Kn
 -----END PGP SIGNATURE-----

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:
Arnd Bergmann 2023-04-14 14:32:12 +02:00
commit e15a70922f
2 changed files with 1 additions and 2 deletions

View file

@ -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);

View file

@ -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");