1. 30 1月, 2014 1 次提交
  2. 30 7月, 2013 1 次提交
  3. 24 5月, 2013 1 次提交
    • J
      ata: use platform_{get,set}_drvdata() · d89995db
      Jingoo Han 提交于
      Use the wrapper functions for getting and setting the driver data using
      platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
      so we can directly pass a struct platform_device.
      
      Also, unnecessary dev_set_drvdata() is removed, because the driver core
      clears the driver data to NULL after device_release or on probe failure.
      Signed-off-by: NJingoo Han <jg1.han@samsung.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      d89995db
  4. 12 4月, 2013 4 次提交
  5. 04 1月, 2013 1 次提交
    • G
      Drivers: ata: remove __dev* attributes. · 0ec24914
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0ec24914
  6. 14 12月, 2012 1 次提交
  7. 26 7月, 2012 1 次提交
  8. 09 1月, 2012 1 次提交
    • A
      SATA/PATA: convert drivers/ata/* to use module_platform_driver() · 99c8ea3e
      Axel Lin 提交于
      This patch converts the drivers in drivers/ata/* to use the
      module_platform_driver() macro which makes the code smaller and a bit
      simpler.
      
      Cc: Viresh Kumar <viresh.kumar@st.com>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Sylvain Munaut <tnt@246tNt.com>
      Cc: Anton Vorontsov <avorontsov@ru.mvista.com>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Florian Fainelli <florian@openwrt.org>
      Cc: Mark Miesfeld <mmiesfeld@amcc.com>
      Cc: Ashish Kalra <ashish.kalra@freescale.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      99c8ea3e
  9. 19 8月, 2011 1 次提交
    • A
      ata: Add iMX pata support · e39c75cf
      Arnaud Patard (Rtp) 提交于
      Add basic support for pata on iMX. It has been tested only on imx51.
      SDMA support will probably be added later so this version supports only
      PIO.
      
      v2:
        - enable only when needed IORDY
        - use dev_get_drvdata
      v3:
        - add missing clk_put() calls
        - use platform_get_irq()
        - fix resume code to avoid disabling IORDY on resume
      v4:
        - Remove EXPERIMENTAL and switch to depends on ARCH_MXC
        - Use devm_kzalloc()
        - make clock a must-have
        - Use only 1 ioremap
      Signed-off-by: NArnaud Patard <arnaud.patard@rtp-net.org>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      e39c75cf