aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 18:05:45 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:07:46 -0400
commit5e8599d21bdd8010e43f407c0f0cbef32f23bea8 (patch)
treec896403e1eee5cf9a07350cae1d44b9ae3e84aa8 /drivers/rtc
parent8ecc0bf41a8e3ddd40e0fbb7b3045f553e8aad41 (diff)
drivers/rtc/rtc-cmos.c: fix whitespace related errors
Fixes the following types of issues: ERROR: space required after that ',' (ctx:VxV) WARNING: please, no spaces at the start of a line Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-cmos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
index f1cb706445c7..a6727d977330 100644
--- a/drivers/rtc/rtc-cmos.c
+++ b/drivers/rtc/rtc-cmos.c
@@ -326,7 +326,7 @@ static void cmos_irq_disable(struct cmos_rtc *cmos, unsigned char mask)
326static int cmos_set_alarm(struct device *dev, struct rtc_wkalrm *t) 326static int cmos_set_alarm(struct device *dev, struct rtc_wkalrm *t)
327{ 327{
328 struct cmos_rtc *cmos = dev_get_drvdata(dev); 328 struct cmos_rtc *cmos = dev_get_drvdata(dev);
329 unsigned char mon, mday, hrs, min, sec, rtc_control; 329 unsigned char mon, mday, hrs, min, sec, rtc_control;
330 330
331 if (!is_valid_irq(cmos->irq)) 331 if (!is_valid_irq(cmos->irq))
332 return -EIO; 332 return -EIO;
@@ -691,7 +691,7 @@ cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq)
691 /* FIXME: 691 /* FIXME:
692 * <asm-generic/rtc.h> doesn't know 12-hour mode either. 692 * <asm-generic/rtc.h> doesn't know 12-hour mode either.
693 */ 693 */
694 if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) { 694 if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) {
695 dev_warn(dev, "only 24-hr supported\n"); 695 dev_warn(dev, "only 24-hr supported\n");
696 retval = -ENXIO; 696 retval = -ENXIO;
697 goto cleanup1; 697 goto cleanup1;
@@ -991,7 +991,7 @@ static int cmos_pnp_probe(struct pnp_dev *pnp, const struct pnp_device_id *id)
991{ 991{
992 cmos_wake_setup(&pnp->dev); 992 cmos_wake_setup(&pnp->dev);
993 993
994 if (pnp_port_start(pnp,0) == 0x70 && !pnp_irq_valid(pnp,0)) 994 if (pnp_port_start(pnp, 0) == 0x70 && !pnp_irq_valid(pnp, 0))
995 /* Some machines contain a PNP entry for the RTC, but 995 /* Some machines contain a PNP entry for the RTC, but
996 * don't define the IRQ. It should always be safe to 996 * don't define the IRQ. It should always be safe to
997 * hardcode it in these cases 997 * hardcode it in these cases