mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
drm/i2c: tda998x: clean up error chip version checking
This is a nicer way, and results in proper return codes should the read of the MSB version register fail. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
7d2eadc9b9
commit
fb7544d773
1 changed files with 8 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue