]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: i801: Simplify the suspend callback
authorJean Delvare <jdelvare@suse.de>
Tue, 1 Sep 2020 13:28:37 +0000 (15:28 +0200)
committerWolfram Sang <wsa@kernel.org>
Mon, 14 Sep 2020 07:04:12 +0000 (09:04 +0200)
commit52e800c039728532fcd51d6be90c6b50cabf4217
tree2f4540af8ac182dfc16f58a253a462f17e08e548
parent888bb0b16bbf9324005411505e0398db3bd10abd
i2c: i801: Simplify the suspend callback

We don't actually need to derive the PCI device from the device
structure, as we already have a pointer to it in our private data
structure.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-i801.c