Re: [PATCH 2/2] rtc: add hym8563 rtc-driver

2013-11-25 Thread Heiko Stübner
Am Montag, 25. November 2013, 13:01:25 schrieb Mark Rutland: > [...] > > > +static int hym8563_probe(struct i2c_client *client, > > +const struct i2c_device_id *id) > > +{ > > + struct hym8563 *hym8563; > > + int ret, gpio_int; > > + > > + hym8563 =

Re: [PATCH 2/2] rtc: add hym8563 rtc-driver

2013-11-25 Thread Mark Rutland
[...] > +static int hym8563_probe(struct i2c_client *client, > +const struct i2c_device_id *id) > +{ > + struct hym8563 *hym8563; > + int ret, gpio_int; > + > + hym8563 = devm_kzalloc(>dev, sizeof(hym8563), GFP_KERNEL); > + if (!hym8563) > +

Re: [PATCH 2/2] rtc: add hym8563 rtc-driver

2013-11-25 Thread Mark Rutland
[...] +static int hym8563_probe(struct i2c_client *client, +const struct i2c_device_id *id) +{ + struct hym8563 *hym8563; + int ret, gpio_int; + + hym8563 = devm_kzalloc(client-dev, sizeof(hym8563), GFP_KERNEL); + if (!hym8563) +

Re: [PATCH 2/2] rtc: add hym8563 rtc-driver

2013-11-25 Thread Heiko Stübner
Am Montag, 25. November 2013, 13:01:25 schrieb Mark Rutland: [...] +static int hym8563_probe(struct i2c_client *client, +const struct i2c_device_id *id) +{ + struct hym8563 *hym8563; + int ret, gpio_int; + + hym8563 =

[PATCH 2/2] rtc: add hym8563 rtc-driver

2013-11-22 Thread Heiko Stübner
The Haoyu Microelectronics HYM8563 provides rtc- and alarm functions as well as a clock output of up to 32kHz. Signed-off-by: Heiko Stuebner --- drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile |1 + drivers/rtc/rtc-hym8563.c | 619 +

[PATCH 2/2] rtc: add hym8563 rtc-driver

2013-11-22 Thread Heiko Stübner
The Haoyu Microelectronics HYM8563 provides rtc- and alarm functions as well as a clock output of up to 32kHz. Signed-off-by: Heiko Stuebner he...@sntech.de --- drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile |1 + drivers/rtc/rtc-hym8563.c | 619