]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i2c: acorn: fix i2c warning
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 11 Jun 2019 16:48:18 +0000 (17:48 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 12 Jun 2019 10:09:02 +0000 (12:09 +0200)
commitca21f851cc9643af049226d57fabc3c883ea648e
tree4e50addd775b36a95c044af53296020266c50518
parentd1fdb6d8f6a4109a4263176c84b899076a5f8008
i2c: acorn: fix i2c warning

The Acorn i2c driver (for RiscPC) triggers the "i2c adapter has no name"
warning in the I2C core driver, resulting in the RTC being inaccessible.
Fix this.

Fixes: 2236baa75f70 ("i2c: Sanity checks on adapter registration")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-acorn.c