]> git.karo-electronics.de Git - linux-beck.git/commit
i2c: octeon: Introduce helper functions for register access
authorJan Glauber <jglauber@cavium.com>
Mon, 11 Apr 2016 15:28:35 +0000 (17:28 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 14 Apr 2016 08:55:11 +0000 (10:55 +0200)
commitc57db7098b72f406a4834b4b74268db54eae3fb7
tree18c536e864ad3a7c28334d85b9f0cd5502352a7d
parent9cb9480e473b910e226312574f997bec29f47ae4
i2c: octeon: Introduce helper functions for register access

Add helper functions for control, data and status register access.
This simplifies the code and makes the purpose of the register
access clearer.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon.c