component: fix bug with legacy API
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 4 Jul 2014 12:23:46 +0000 (13:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 4 Jul 2014 17:05:05 +0000 (18:05 +0100)
commitb509cc802239a8b5ba7d1d2cc5adfb9d984b7ed8
tree476a3a78ff7da58a89b713595945d0946963f3b7
parent6955b58254c2bcee8a7b55ce06468a645dc98ec5
component: fix bug with legacy API

Sachin Kamat reports that "component: add support for component match
array" broke Exynos DRM due to a NULL pointer deref.  Fix this.

Reported-by: Sachin Kamat <sachin.kamat@samsung.com>
Tested-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/base/component.c