Skip to content
Snippets Groups Projects
  1. Oct 23, 2015
  2. Mar 07, 2015
  3. Nov 18, 2014
  4. Aug 23, 2013
  5. Nov 15, 2012
  6. Oct 15, 2012
    • Shawn Guo's avatar
      i2c: imx: remove cpu_is_xxx by using platform_device_id · 5bdfba29
      Shawn Guo authored
      
      This is some amount of work left/forgot from device tree conversion.
      Instead of checking cpu_is_xxx to determine the controller type, the
      driver should use platform_device_id, which should match the device
      tree compatible string.
      
      The patch changes the driver to use platform_device_id rather than
      cpu_is_xxx to determine the controller type/version.  It also updates
      the platform code and device tree source accordingly.
      
      As the result, mach/hardware.h inclusion gets removed from the driver.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Wolfram Sang <w.sang@pengutronix.de>
      Cc: linux-i2c@vger.kernel.org
      5bdfba29
  7. Sep 14, 2011
Loading