linux_dsm_epyc7002/drivers/rtc
Linus Torvalds e51066824a Merge branch 'devm_no_resource_check' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull devm usage cleanup from Wolfram Sang:
 "Lately, I have been experimenting how to improve the devm interface to
  make writing device drivers easier and less error prone while also
  getting rid of its subtle issues.  I think it has more potential but
  still needs work and definately conistency, especiall in its usage.

  The first thing I come up with is a low hanging fruit regarding
  devm_ioremap_resouce().  This function already checks if the passed
  resource is valid and gives an error message if not.  So, we can
  remove similar checks from the drivers and get rid of a bit of code
  and a number of inconsistent error strings.

  This series only removes the unneeded check iff devm_ioremap_resource
  follows platform_get_resource directly.  The previous version tried to
  shuffle code if needed, too, what lead to an embarrasing bug.  It
  turned out to me that shuffling code for all cases found will make the
  automated script too complex, so I am unsure if an automated cleanup
  is the proper tool for this case.  Removing the easy stuff seems
  worthwhile to me, though.

  Despite various architectures and platform dependencies, I managed to
  compile test 45 out of 57 modified files locally using heuristics and
  defconfigs."

Pulled because: 296 deletions, 0 additions.

* 'devm_no_resource_check' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (33 commits)
  sound/soc/kirkwood: don't check resource with devm_ioremap_resource
  sound/soc/fsl: don't check resource with devm_ioremap_resource
  arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource
  arch/arm/plat-samsung: don't check resource with devm_ioremap_resource
  arch/arm/mach-tegra: don't check resource with devm_ioremap_resource
  drivers/watchdog: don't check resource with devm_ioremap_resource
  drivers/w1/masters: don't check resource with devm_ioremap_resource
  drivers/video/omap2/dss: don't check resource with devm_ioremap_resource
  drivers/video/omap2: don't check resource with devm_ioremap_resource
  drivers/usb/phy: don't check resource with devm_ioremap_resource
  drivers/usb/host: don't check resource with devm_ioremap_resource
  drivers/usb/gadget: don't check resource with devm_ioremap_resource
  drivers/usb/chipidea: don't check resource with devm_ioremap_resource
  drivers/thermal: don't check resource with devm_ioremap_resource
  drivers/staging/nvec: don't check resource with devm_ioremap_resource
  drivers/staging/dwc2: don't check resource with devm_ioremap_resource
  drivers/spi: don't check resource with devm_ioremap_resource
  drivers/rtc: don't check resource with devm_ioremap_resource
  drivers/pwm: don't check resource with devm_ioremap_resource
  drivers/pinctrl: don't check resource with devm_ioremap_resource
  ...
2013-05-18 10:54:54 -07:00
..
class.c drivers/rtc/class.c: use struct device as the first argument for devm_rtc_device_register() 2013-04-29 18:28:22 -07:00
hctosys.c rtc_sysfs_show_hctosys(): display 0 if resume failed 2012-10-06 03:05:04 +09:00
interface.c driver-core: constify data for class_find_device() 2013-02-06 12:18:56 -08:00
Kconfig time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons 2013-05-14 20:54:06 +02:00
Makefile This is the MFD pull request for the 3.9 merge window. 2013-02-24 20:00:58 -08:00
rtc-88pm80x.c drivers/rtc/rtc-88pm80x.c: add CONFIG_PM_SLEEP to suspend/resume functions 2013-04-29 18:28:33 -07:00
rtc-88pm860x.c drivers/rtc/rtc-88pm860x.c: use devm_* APIs 2013-04-29 18:28:35 -07:00
rtc-ab3100.c rtc: rtc-ab3100: use devm_rtc_device_register() 2013-04-29 18:28:29 -07:00
rtc-ab8500.c rtc: rtc-ab8500: use devm_*() functions 2013-04-29 18:28:36 -07:00
rtc-at32ap700x.c drivers/rtc/rtc-at32ap700x.c: use devm_* APIs 2013-04-29 18:28:35 -07:00
rtc-at91rm9200.c drivers/rtc/rtc-at91rm9200.c: fix missing iounmap 2013-04-29 18:28:40 -07:00
rtc-at91rm9200.h Revert "drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR" 2013-04-05 09:36:53 -07:00
rtc-at91sam9.c rtc: rtc-at91sam9: convert at91_rtc_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-au1xxx.c rtc: rtc-au1xxx: use devm_rtc_device_register() 2013-04-29 18:28:29 -07:00
rtc-bfin.c rtc: rtc-bfin: convert bfin_rtc_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-bq32k.c rtc: rtc-bq32k: use devm_rtc_device_register() 2013-04-29 18:28:29 -07:00
rtc-bq4802.c rtc: rtc-bq4802: use devm_*() functions 2013-04-29 18:28:36 -07:00
rtc-cmos.c drivers/rtc/rtc-cmos.c: don't disable hpet emulation on suspend 2013-04-29 18:28:35 -07:00
rtc-coh901331.c rtc: rtc-coh901331: convert coh901331_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-core.h
rtc-da9052.c rtc: rtc-da9052: use devm_rtc_device_register() 2013-04-29 18:28:25 -07:00
rtc-da9055.c rtc: rtc-da9055: use devm_rtc_device_register() 2013-04-29 18:28:25 -07:00
rtc-davinci.c rtc: rtc-davinci: use devm_rtc_device_register() 2013-04-29 18:28:25 -07:00
rtc-dev.c rtc: use dev_warn()/dev_dbg()/pr_err() instead of printk() 2013-02-21 17:22:29 -08:00
rtc-dm355evm.c rtc: rtc-dm355evm: use devm_rtc_device_register() 2013-04-29 18:28:29 -07:00
rtc-ds1216.c rtc: rtc-ds1216: use devm_*() functions 2013-04-29 18:28:36 -07:00
rtc-ds1286.c rtc: rtc-ds1286: use devm_*() functions 2013-04-29 18:28:36 -07:00
rtc-ds1302.c rtc: rtc-ds1302: use devm_rtc_device_register() 2013-04-29 18:28:29 -07:00
rtc-ds1305.c drivers/rtc/rtc-ds1305.c: use devm_* APIs 2013-04-29 18:28:35 -07:00
rtc-ds1307.c drivers/rtc/rtc-ds1307.c: change sysfs function pointer assignment 2013-04-29 18:28:34 -07:00
rtc-ds1374.c drivers/rtc/rtc-ds1374.c: use devm_* APIs 2013-04-29 18:28:35 -07:00
rtc-ds1390.c rtc: rtc-ds1390: use devm_*() functions 2013-04-29 18:28:37 -07:00
rtc-ds1511.c rtc: rtc-ds1511: use devm_rtc_device_register() 2013-04-29 18:28:25 -07:00
rtc-ds1553.c rtc: rtc-ds1553: use devm_rtc_device_register() 2013-04-29 18:28:25 -07:00
rtc-ds1672.c rtc: rtc-ds1672: use devm_rtc_device_register() 2013-04-29 18:28:29 -07:00
rtc-ds1742.c rtc: rtc-ds1742: use devm_rtc_device_register() 2013-04-29 18:28:25 -07:00
rtc-ds2404.c rtc: rtc-ds2404: use devm_*() functions 2013-04-29 18:28:37 -07:00
rtc-ds3232.c drivers/rtc/rtc-ds3232.c: use devm_* APIs 2013-04-29 18:28:36 -07:00
rtc-ds3234.c rtc: rtc-ds3234: use spi_set_drvdata() 2013-04-29 18:28:34 -07:00
rtc-efi.c rtc: rtc-efi: use devm_rtc_device_register() 2013-04-29 18:28:29 -07:00
rtc-em3027.c rtc: rtc-em3027: use devm_rtc_device_register() 2013-04-29 18:28:29 -07:00
rtc-ep93xx.c rtc: rtc-ep93xx: use devm_rtc_device_register() 2013-04-29 18:28:25 -07:00
rtc-fm3130.c rtc: rtc-fm3130: use devm_*() functions 2013-04-29 18:28:37 -07:00
rtc-generic.c rtc: rtc-generic: use devm_rtc_device_register() 2013-04-29 18:28:30 -07:00
rtc-hid-sensor-time.c rtc: hid-sensor-time: use devm_rtc_device_register() 2013-04-29 18:28:30 -07:00
rtc-imxdi.c rtc: rtc-imxdi: use devm_rtc_device_register() 2013-04-29 18:28:25 -07:00
rtc-isl1208.c drivers/rtc/rtc-isl1208.c: call rtc_update_irq() from the alarm irq handler 2013-02-05 20:38:49 +11:00
rtc-isl12022.c drivers/rtc/rtc-isl12022.c: Remove rtc8564 from isl12022_id 2013-04-29 18:28:40 -07:00
rtc-jz4740.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-lib.c
rtc-lp8788.c rtc: rtc-lp8788: use devm_rtc_device_register() 2013-04-29 18:28:26 -07:00
rtc-lpc32xx.c rtc: rtc-lpc32xx: use devm_rtc_device_register() 2013-04-29 18:28:26 -07:00
rtc-ls1x.c rtc: rtc-ls1x: use devm_rtc_device_register() 2013-04-29 18:28:30 -07:00
rtc-m41t80.c rtc: rtc-m41t80: use devm_*() functions 2013-04-29 18:28:37 -07:00
rtc-m41t93.c rtc: rtc-m41t93: use spi_set_drvdata() 2013-04-29 18:28:35 -07:00
rtc-m41t94.c rtc: rtc-m41t94: use spi_set_drvdata() 2013-04-29 18:28:34 -07:00
rtc-m48t35.c drivers/rtc/rtc-m48t35.c: use devm_* APIs 2013-04-29 18:28:36 -07:00
rtc-m48t59.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-m48t86.c rtc: rtc-m48t86: use devm_rtc_device_register() 2013-04-29 18:28:30 -07:00
rtc-max6900.c rtc: rtc-max6900: use devm_rtc_device_register() 2013-04-29 18:28:30 -07:00
rtc-max6902.c drivers/rtc/rtc-max6902.c: use register defines instead of magic numbers 2013-04-29 18:28:39 -07:00
rtc-max8907.c drivers/rtc/rtc-max8907.c: remove redundant code 2013-04-29 18:28:34 -07:00
rtc-max8925.c drivers/rtc/rtc-max8925.c: use devm_* APIs 2013-04-29 18:28:36 -07:00
rtc-max8997.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-04-30 09:36:50 -07:00
rtc-max8998.c rtc: rtc-max8998: use devm_*() functions 2013-04-29 18:28:37 -07:00
rtc-max77686.c drivers/rtc/rtc-max77686.c: use devm_regmap_init_i2c() 2013-04-29 18:28:35 -07:00
rtc-mc13xxx.c rtc: rtc-mc13xxx: use devm_*() functions 2013-04-29 18:28:37 -07:00
rtc-mpc5121.c drivers/rtc: use of_match_ptr() macro 2013-02-21 17:22:27 -08:00
rtc-mrst.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-msm6242.c rtc: rtc-msm6242: use devm_*() functions 2013-04-29 18:28:37 -07:00
rtc-mv.c rtc: rtc-mv: use devm_rtc_device_register() 2013-04-29 18:28:26 -07:00
rtc-mxc.c rtc: rtc-mxc: switch to using SIMPLE_DEV_PM_OPS 2013-04-29 18:28:32 -07:00
rtc-nuc900.c drivers/rtc: don't check resource with devm_ioremap_resource 2013-05-18 11:57:07 +02:00
rtc-omap.c drivers/rtc: don't check resource with devm_ioremap_resource 2013-05-18 11:57:07 +02:00
rtc-palmas.c drivers/rtc/rtc-palmas.c: add dt support 2013-04-29 18:28:33 -07:00
rtc-pcap.c rtc: rtc-pcap: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-pcf2123.c drivers/rtc/rtc-pcf2123.c: fix error return code in pcf2123_probe() 2013-04-29 18:28:40 -07:00
rtc-pcf8523.c rtc: rtc-pcf8523: use devm_rtc_device_register() 2013-04-29 18:28:26 -07:00
rtc-pcf8563.c rtc: rtc-pcf8563: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-pcf8583.c rtc: rtc-pcf8583: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-pcf50633.c rtc: rtc-pcf50633: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-pl030.c
rtc-pl031.c drivers/rtc/rtc-pl031.c: add wakeup support 2013-02-21 17:22:28 -08:00
rtc-pm8xxx.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-proc.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
rtc-ps3.c rtc: rtc-ps3: use devm_rtc_device_register() 2013-04-29 18:28:30 -07:00
rtc-puv3.c rtc: rtc-puv3: convert puv3_rtc_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-pxa.c rtc: rtc-pxa: switch to using SIMPLE_DEV_PM_OPS 2013-04-29 18:28:32 -07:00
rtc-r9701.c rtc: rtc-r9701: use spi_set_drvdata() 2013-04-29 18:28:34 -07:00
rtc-rc5t583.c rtc: rtc-rc5t583: switch to using SIMPLE_DEV_PM_OPS 2013-04-29 18:28:32 -07:00
rtc-rp5c01.c rtc: rtc-rp5c01: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-rs5c313.c rtc: rtc-rs5c313: use devm_rtc_device_register() 2013-04-29 18:28:31 -07:00
rtc-rs5c348.c rtc: rtc-rs5c348: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-rs5c372.c drivers/rtc/rtc-rs5c372.c: add R2221T/L variant to the driver 2013-05-07 18:38:26 -07:00
rtc-rv3029c2.c rtc: rtc-rv3029c2: use devm_rtc_device_register() 2013-04-29 18:28:31 -07:00
rtc-rx4581.c rtc: rtc-rx4581: use spi_set_drvdata() 2013-04-29 18:28:34 -07:00
rtc-rx8025.c Drivers: rtc: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rtc-rx8581.c rtc: rtc-rx8581: use devm_rtc_device_register() 2013-04-29 18:28:31 -07:00
rtc-s3c.c drivers/rtc: don't check resource with devm_ioremap_resource 2013-05-18 11:57:07 +02:00
rtc-s3c.h rtc: s3c: make header file local 2013-04-19 13:51:25 +02:00
rtc-s35390a.c rtc: rtc-s35390a: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-sa1100.c rtc: rtc-sa1100: use devm_*() functions 2013-04-29 18:28:38 -07:00
rtc-sh.c rtc: rtc-sh: switch to using SIMPLE_DEV_PM_OPS 2013-04-29 18:28:32 -07:00
rtc-snvs.c rtc: rtc-snvs: use devm_rtc_device_register() 2013-04-29 18:28:27 -07:00
rtc-spear.c rtc: rtc-spear: convert spear_rtc_driver to dev_pm_ops 2013-04-29 18:28:39 -07:00
rtc-starfire.c rtc: rtc-starfire: use devm_rtc_device_register() 2013-04-29 18:28:31 -07:00
rtc-stk17ta8.c rtc: rtc-stk17ta8: use devm_rtc_device_register() 2013-04-29 18:28:27 -07:00
rtc-stmp3xxx.c ARM: arm-soc cleanup for 3.10 2013-05-02 09:03:55 -07:00
rtc-sun4v.c rtc: rtc-sun4v: use devm_rtc_device_register() 2013-04-29 18:28:31 -07:00
rtc-sysfs.c rtc_sysfs_show_hctosys(): display 0 if resume failed 2012-10-06 03:05:04 +09:00
rtc-tegra.c drivers/rtc: don't check resource with devm_ioremap_resource 2013-05-18 11:57:07 +02:00
rtc-test.c rtc: rtc-test: use devm_rtc_device_register() 2013-04-29 18:28:31 -07:00
rtc-tile.c Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2013-05-09 14:34:58 -07:00
rtc-tps6586x.c drivers/rtc/rtc-tps6586x.c: remove incorrect use of rtc_device_unregister 2013-04-29 18:28:33 -07:00
rtc-tps65910.c drivers/rtc/rtc-tps65910.c: fix incorrect return value on error 2013-04-29 18:28:33 -07:00
rtc-tps80031.c rtc: rtc-tps80031: switch to using SIMPLE_DEV_PM_OPS 2013-04-29 18:28:33 -07:00
rtc-twl.c rtc: rtc-twl: convert twl4030rtc_driver to dev_pm_ops 2013-04-29 18:28:40 -07:00
rtc-tx4939.c rtc: rtc-tx4939: use devm_rtc_device_register() 2013-04-29 18:28:27 -07:00
rtc-v3020.c rtc: rtc-v3020: use devm_*() functions 2013-04-29 18:28:39 -07:00
rtc-vr41xx.c rtc: rtc-vr41xx: use dev_info() instead of printk() 2013-02-21 17:22:29 -08:00
rtc-vt8500.c rtc: rtc-vt8500: use devm_rtc_device_register() 2013-04-29 18:28:27 -07:00
rtc-wm831x.c rtc: rtc-wm831x: use devm_rtc_device_register() 2013-04-29 18:28:27 -07:00
rtc-wm8350.c rtc: rtc-wm8350: switch to using SIMPLE_DEV_PM_OPS 2013-04-29 18:28:32 -07:00
rtc-x1205.c rtc: rtc-x1205: use devm_rtc_device_register() 2013-04-29 18:28:32 -07:00
systohc.c NTP: Add a CONFIG_RTC_SYSTOHC configuration 2013-01-15 18:16:06 -08:00