1. 12 10月, 2016 1 次提交
    • A
      platform/x86: intel_pmc_core: avoid boot time warning for !CONFIG_DEBUGFS_FS · 127595ed
      Arnd Bergmann 提交于
      While looking at a patch that introduced a compile-time warning
      "‘pmc_core_dev_state_get’ defined but not used" (I sent a patch
      for debugfs to fix it), I noticed that the same patch caused
      it in intel_pmc_core also introduced a bogus run-time warning:
      "PMC Core: debugfs register failed".
      
      The problem is the IS_ERR_OR_NULL() check that as usual gets
      things wrong: when CONFIG_DEBUGFS_FS is disabled,
      debugfs_create_dir() fails with an error code, and we don't
      need to warn about it, unlike the case in which it returns
      NULL.
      
      This reverts the driver to the previous state of not warning
      about CONFIG_DEBUGFS_FS being disabled. I chose not to
      restore the driver to making a runtime error in debugfs
      fatal in pmc_core_probe().
      
      Fixes: df2294fb ("intel_pmc_core: Convert to DEFINE_DEBUGFS_ATTRIBUTE")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      127595ed
  2. 29 9月, 2016 2 次提交
  3. 28 9月, 2016 2 次提交
  4. 27 9月, 2016 1 次提交
  5. 24 9月, 2016 6 次提交
  6. 01 9月, 2016 3 次提交
  7. 29 8月, 2016 1 次提交
    • P
      intel_pmic_gpio: Make explicitly non-modular · da43bf0c
      Paul Gortmaker 提交于
      The Kconfig entry controlling compilation of this code is:
      
      drivers/platform/x86/Kconfig:config GPIO_INTEL_PMIC
      drivers/platform/x86/Kconfig:   bool "Intel PMIC GPIO support"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the couple traces of modular infrastructure use, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      We don't replace module.h with init.h since the file already has that.
      
      Cc: Alek Du <alek.du@intel.com>
      Cc: platform-driver-x86@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      da43bf0c
  8. 09 8月, 2016 1 次提交
  9. 28 7月, 2016 1 次提交
  10. 23 7月, 2016 1 次提交
  11. 18 7月, 2016 1 次提交
  12. 07 7月, 2016 2 次提交
  13. 02 7月, 2016 7 次提交
  14. 29 6月, 2016 11 次提交