- 30 1月, 2014 1 次提交
-
-
由 Fabio Estevam 提交于
clk_prepare_enable() may fail, so let's check its return value and propagate it in the case of error. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Signed-off-by: NTejun Heo <tj@kernel.org>
-
- 30 7月, 2013 1 次提交
-
-
由 Niels de Vos 提交于
Enable auto loading by udev when pata_imx is compiled as a module. Signed-off-by: NNiels de Vos <ndevos@redhat.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NTejun Heo <tj@kernel.org>
-
- 24 5月, 2013 1 次提交
-
-
由 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>
-
- 12 4月, 2013 4 次提交
-
-
由 Sascha Hauer 提交于
Not much to do here, only the compatible entries have to be added. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
-
由 Sascha Hauer 提交于
regs is returned from ioremap, so add a __iomem. Also, make it void * instead of u8 *. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
-
由 Sascha Hauer 提交于
- rename free_priv label to 'err' since priv is allocated with devm_* and not freed here. - add missing 'goto err' in case ata_host_activate fails - add 'ret' variable to return correct error value instead of hardcoded -ENOMEM in error case. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
-
由 Sascha Hauer 提交于
To make the error path a bit simpler. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
-
- 04 1月, 2013 1 次提交
-
-
由 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>
-
- 14 12月, 2012 1 次提交
-
-
由 Wei Yongjun 提交于
Using ata_dev_info() instead of ata_dev_printk(). Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
-
- 26 7月, 2012 1 次提交
-
-
由 Fabio Estevam 提交于
With the new i.mx clock framework, we need to use clk_prepare_enable/clk_disable_unprepare. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
-
- 09 1月, 2012 1 次提交
-
-
由 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>
-
- 19 8月, 2011 1 次提交
-
-
由 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>
-