commit | 92554d97c6dcc448afd56f96bbe933998868be74 | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@opensource.se> | Wed Dec 14 01:00:37 2011 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Jan 09 09:33:50 2012 +0900 |
tree | 29c6d6ab1c4150b82b52655807d8a3cc9585a826 | |
parent | b0e10211cba1629e2e534ca9cb3d87cfc7e389ea [diff] |
sh: pfc: Add gpio_read_bit() for data register access Introduce gpio_read_bit() for data register read access and modify sh_gpio_get_value() to make use of the new function instead of gpio_read_reg(). The purpose of this change is to update the code to only use the gpio_read_reg() function for config register access. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>