aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2019-11-15 10:49:30 +0200
committerLee Jones <[email protected]>2020-01-24 07:33:56 +0000
commitf2a19c5b78670af5986ab0a625631f8f8a6adac1 (patch)
treee712cb54de64b77f82b098f947be60b69efd8996 /net/lapb/lapb_iface.c
parent18490cdb9e321a62a9c2cac6fb506843cbc84926 (diff)
mfd: syscon: Re-use resource_size() to count max_register
Instead of open coded variant use resource_size() and replace weird '- 3' to more understandable '- 4'. Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions