spi: hisi-sfc-v3xx: factor out the bit definition of interrupt register
authorYicong Yang <yangyicong@hisilicon.com>
Thu, 24 Sep 2020 12:24:29 +0000 (20:24 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 25 Sep 2020 20:26:28 +0000 (21:26 +0100)
commitaac6edff843871d7d732a6aa6f495b9eb1dea83a
tree7e26823d0017f0e7e4e1e15fc84b59d1d3d89a21
parentf6d2737720d6f6e5f4825b7203ad8b5cfcf9906c
spi: hisi-sfc-v3xx: factor out the bit definition of interrupt register

The definition of the register field in the interrupt corresponding
registers are the same. So factor them out to public place.

Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/1600950270-52536-4-git-send-email-yangyicong@hisilicon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-hisi-sfc-v3xx.c