]> git.baikalelectronics.ru Git - kernel.git/commit
clk: h8300: Use standard Linux I/O accessors
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 14 Jul 2015 00:06:53 +0000 (17:06 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 28 Jul 2015 18:51:38 +0000 (11:51 -0700)
commit2921e2c90da71fd34a36ac8627b63adb05cabc28
tree24730a3edfba1951892d83dea9433f9b166f57bc
parent278fba9f2a24c2b532c448dccd00053e21c42bd6
clk: h8300: Use standard Linux I/O accessors

There doesn't seem to be any reason why we can't use the standard
readb()/writeb() accessors here because ctrl_inb() and
ctrl_outb() match the generic implementation of readb() and
writeb() that the h8300 architecture uses. This allows us to test
compile this driver on other architectures besides h8300.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/h8300/clk-h8s2678.c