summaryrefslogtreecommitdiff
path: root/include/linux/logic_pio.h
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2019-11-05 01:22:15 +0800
committerWei Xu <xuwei5@hisilicon.com>2019-11-05 08:45:25 +0800
commit0376fa72a45536cc582aeef6566558d3fe318e2e (patch)
tree6eda21569587d7eaafb2293d71cdc9fe04e09f39 /include/linux/logic_pio.h
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
downloadlwn-0376fa72a45536cc582aeef6566558d3fe318e2e.tar.gz
lwn-0376fa72a45536cc582aeef6566558d3fe318e2e.zip
lib: logic_pio: Enforce LOGIC_PIO_INDIRECT region ops are set at registration
Since the only LOGIC_PIO_INDIRECT host (hisi-lpc) now sets the ops prior to registration, enforce this check for accessors ops at registration instead of in the IO port accessors to simplify and marginally optimise the code. A slight misalignment is also tidied. Also add myself as an author. Suggested-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'include/linux/logic_pio.h')
0 files changed, 0 insertions, 0 deletions