Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-11 | drivers/rtc/rtc-max77686.c: Fix wrong register | Sangjung Woo | 1 | -2/+2 | |
Fix a read of the wrong register when checking whether the RTC timer has reached the alarm time. Signed-off-by: Sangjung Woo <[email protected]> Signed-off-by: Myugnjoo Ham <[email protected]> Reviewed-by: Jonghwa Lee <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-07-03 | drivers/rtc/rtc-max77686.c: remove empty function | Sachin Kamat | 1 | -6/+0 | |
After the switch to devm_* functions and the removal of rtc_device_unregister(), the 'remove' function does not do anything. Delete it. Signed-off-by: Sachin Kamat <[email protected]> Cc: Chiwoong Byun <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-07-03 | drivers/rtc/rtc-max77686.c: remove space before semicolon | Sachin Kamat | 1 | -1/+1 | |
Fixes the following warning: WARNING: space prohibited before semicolon Signed-off-by: Sachin Kamat <[email protected]> Cc: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-04-29 | drivers/rtc/rtc-max77686.c: use devm_regmap_init_i2c() | Sachin Kamat | 1 | -1/+1 | |
This driver already uses other devm_* APIs. Convert regmap_init_i2c too. Signed-off-by: Sachin Kamat <[email protected]> Cc: Chiwoong Byun <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-04-29 | drivers/rtc/rtc-max77686.c: fix incorrect return value on error | Sachin Kamat | 1 | -4/+4 | |
'ret' was not initialized to error code before returning. While at it also remove some redundant code and cleanup. Signed-off-by: Sachin Kamat <[email protected]> Cc: Chiwoong Byun <[email protected]> Cc: Jonghwa Lee <[email protected]> Cc: Laxman dewangan <[email protected]> Cc: Venu Byravarasu <[email protected]> Cc: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-04-29 | rtc: rtc-max77686: use devm_rtc_device_register() | Jingoo Han | 1 | -11/+4 | |
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Also, this patch uses devm_request_threaded_irq(). Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-04-29 | drivers/rtc/rtc-max77686.c: use dev_info()/dev_emerg() instead of ↵ | Jingoo Han | 1 | -6/+9 | |
pr_info()/pr_emerg() dev_info()/dev_emerg() are preferred to pr_info()/pr_emerg(). Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-04-29 | drivers/rtc/rtc-max77686.c: fix indentation of bit definitions | Jingoo Han | 1 | -5/+5 | |
Fix indentation of bit definitions to enhance the readability. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-04-29 | drivers/rtc/rtc-max77686.c: use devm_kzalloc() | Jingoo Han | 1 | -7/+2 | |
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-04-29 | drivers/rtc/rtc-max77686.c: add missing module author name | Jingoo Han | 1 | -1/+1 | |
Add missing module author name to MODULE_AUTHOR macro. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-04-29 | drivers/rtc/rtc-max77686.c: use module_platform_driver() | Jingoo Han | 1 | -11/+1 | |
Use module_platform_driver() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-02-21 | rtc: max77686: use dev_info() instead of printk() | Jingoo Han | 1 | -2/+2 | |
Fix the checkpatch warning as below: WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-02-21 | rtc: max77686: add Maxim 77686 driver | Jonghwa Lee | 1 | -0/+641 | |
Add a driver to support max77686 rtc. MAX77686 rtc support smpl and wtsr mode. It has two alarm register which can be used for alarming to wake system up. This drvier uses regmap to access its register. [[email protected]: remove inline, __devinit annotations] [[email protected]: fix build warnings] [[email protected]: simplify code] Signed-off-by: Chiwoong Byun <[email protected]> Signed-off-by: Jonghwa Lee <[email protected]> Signed-off-by: Myugnjoo Ham <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> |