mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
rtc-ds1390: fix compilation warnings in drivers/rtc/rtc-ds1390.c
drivers/rtc/rtc-ds1390.c:125: warning: unused variable 'rtc' Signed-off-by: Manish Katiyar <mkatiyar@gmail.com> Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ce43ae538b
commit
cd29cf7d11
1 changed files with 0 additions and 1 deletions
|
@ -122,7 +122,6 @@ static const struct rtc_class_ops ds1390_rtc_ops = {
|
||||||
|
|
||||||
static int __devinit ds1390_probe(struct spi_device *spi)
|
static int __devinit ds1390_probe(struct spi_device *spi)
|
||||||
{
|
{
|
||||||
struct rtc_device *rtc;
|
|
||||||
unsigned char tmp;
|
unsigned char tmp;
|
||||||
struct ds1390 *chip;
|
struct ds1390 *chip;
|
||||||
int res;
|
int res;
|
||||||
|
|
Loading…
Reference in a new issue