pwm: Add missing "CONFIG_" prefix
authorKees Cook <keescook@chromium.org>
Wed, 3 Jun 2020 22:40:56 +0000 (15:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:49:04 +0000 (17:49 +0200)
commit0c26bff2bb582e06358d36b90f4aca23e11deee7
treeb5f15e99d85a44c211fa2a64b4748b58f67f9088
parent34bd56feb39d8b66134390b46b8262ca10de4f40
pwm: Add missing "CONFIG_" prefix

[ Upstream commit f5641d053d46a9a18fe13f2ecb4a7b4a66d9cdf7 ]

The IS_ENABLED() use was missing the CONFIG_ prefix which would have
lead to skipping this code.

Fixes: 3ad1f3a33286 ("pwm: Implement some checks for lowlevel drivers")
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pwm/core.c