mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-12 23:33:55 +08:00
crypto: sahara - Convert IS_ENABLED uses to __is_defined
IS_ENABLED should be reserved for CONFIG_<FOO> uses so convert the uses of IS_ENABLED with a #define to __is_defined. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
bbfcac5ff5
commit
222f6b8567
@ -354,7 +354,7 @@ static void sahara_decode_status(struct sahara_dev *dev, unsigned int status)
|
||||
{
|
||||
u8 state;
|
||||
|
||||
if (!IS_ENABLED(DEBUG))
|
||||
if (!__is_defined(DEBUG))
|
||||
return;
|
||||
|
||||
state = SAHARA_STATUS_GET_STATE(status);
|
||||
@ -406,7 +406,7 @@ static void sahara_dump_descriptors(struct sahara_dev *dev)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!IS_ENABLED(DEBUG))
|
||||
if (!__is_defined(DEBUG))
|
||||
return;
|
||||
|
||||
for (i = 0; i < SAHARA_MAX_HW_DESC; i++) {
|
||||
@ -427,7 +427,7 @@ static void sahara_dump_links(struct sahara_dev *dev)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!IS_ENABLED(DEBUG))
|
||||
if (!__is_defined(DEBUG))
|
||||
return;
|
||||
|
||||
for (i = 0; i < SAHARA_MAX_HW_LINK; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user