Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
mfd
/
da9052-spi.c
diff --git
a/kernel/drivers/mfd/da9052-spi.c
b/kernel/drivers/mfd/da9052-spi.c
index
b5de8a6
..
b9ea1b2
100644
(file)
--- a/
kernel/drivers/mfd/da9052-spi.c
+++ b/
kernel/drivers/mfd/da9052-spi.c
@@
-56,11
+56,7
@@
static int da9052_spi_probe(struct spi_device *spi)
return ret;
}
return ret;
}
- ret = da9052_device_init(da9052, id->driver_data);
- if (ret != 0)
- return ret;
-
- return 0;
+ return da9052_device_init(da9052, id->driver_data);
}
static int da9052_spi_remove(struct spi_device *spi)
}
static int da9052_spi_remove(struct spi_device *spi)
@@
-86,7
+82,6
@@
static struct spi_driver da9052_spi_driver = {
.id_table = da9052_spi_id,
.driver = {
.name = "da9052",
.id_table = da9052_spi_id,
.driver = {
.name = "da9052",
- .owner = THIS_MODULE,
},
};
},
};