rtc: tx4939: fixup nvmem name and register size
The default word_size and stride of 1 are correct for the tx4939. Also fix the nvmem folder name. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
4b3a6a3ac5
commit
2ab78755e9
|
@ -253,9 +253,7 @@ static int __init tx4939_rtc_probe(struct platform_device *pdev)
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
int irq, ret;
|
int irq, ret;
|
||||||
struct nvmem_config nvmem_cfg = {
|
struct nvmem_config nvmem_cfg = {
|
||||||
.name = "rv8803_nvram",
|
.name = "tx4939_nvram",
|
||||||
.word_size = 4,
|
|
||||||
.stride = 4,
|
|
||||||
.size = TX4939_RTC_REG_RAMSIZE,
|
.size = TX4939_RTC_REG_RAMSIZE,
|
||||||
.reg_read = tx4939_nvram_read,
|
.reg_read = tx4939_nvram_read,
|
||||||
.reg_write = tx4939_nvram_write,
|
.reg_write = tx4939_nvram_write,
|
||||||
|
|
Loading…
Reference in New Issue