1. 18 Aug, 2023 1 commit
    • Arnd Bergmann's avatar
      crypto: caam - fix PM operations definition · b52c8c72
      Arnd Bergmann authored
      The newly added PM operations use the deprecated SIMPLE_DEV_PM_OPS() macro,
      causing a warning in some configurations:
      
      drivers/crypto/caam/ctrl.c:828:12: error: 'caam_ctrl_resume' defined but not used [-Werror=unused-function]
        828 | static int caam_ctrl_resume(struct device *dev)
            |            ^~~~~~~~~~~~~~~~
      drivers/crypto/caam/ctrl.c:818:12: error: 'caam_ctrl_suspend' defined but not used [-Werror=unused-function]
        818 | static int caam_ctrl_suspend(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~
      drivers/crypto/caam/jr.c:732:12: error: 'caam_jr_resume' defined but not used [-Werror=unused-function]
        732 | static int caam_jr_resume(struct device *dev)
            |            ^~~~~~~~~~~~~~
      drivers/crypto/caam/jr.c:687:12: error: 'caam_jr_suspend' defined but not used [-Werror=unused-function]
        687 | static int caam_jr_suspend(struct device *dev)
            |            ^~~~~~~~~~~~~~~
      
      Use the normal DEFINE_SIMPLE_DEV_PM_OPS() variant now, and use pm_ptr() to
      completely eliminate the structure in configs without CONFIG_PM.
      
      Fixes: 322d7475 ("crypto: caam - add power management support")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      b52c8c72
  2. 11 Aug, 2023 12 commits
  3. 05 Aug, 2023 1 commit
  4. 04 Aug, 2023 6 commits
  5. 28 Jul, 2023 10 commits
  6. 22 Jul, 2023 10 commits