ARM: 8523/1: sa1111: ensure no negative value gets returned on positive match
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Feb 2016 08:24:05 +0000 (09:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 16 Feb 2016 16:28:50 +0000 (16:28 +0000)
commit17f29d36e4732b91ae299a163d34ed1954500f42
treee3e1d2431d80ee41c66f0f4ba4d9652ef3180d8d
parent82ec2ba2b18109e134f0d4ace69b0c9c253b6d17
ARM: 8523/1: sa1111: ensure no negative value gets returned on positive match

This patch ensures that existing bus match callbacks don't return
negative values (which might be interpreted as potential errors in the
future) in case of positive match.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/sa1111.c