OSDN Git Service

device property: Remove some casts in property-entry-test
authorDavid Gow <davidgow@google.com>
Thu, 13 May 2021 19:31:58 +0000 (12:31 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 23 Jun 2021 22:37:21 +0000 (16:37 -0600)
commit6d2e97894b67778109679443008c2d063787540e
treebc8021a46696b9f178d68576485ffe0861bc5e26
parent99a8e899fab95be3e6b66edf7b303a58f6997be4
device property: Remove some casts in property-entry-test

With some of the stricter type checking in KUnit's EXPECT macros
removed, several casts in property-entry-test are no longer required.

Remove the unnecessary casts, making the conditions clearer.

Signed-off-by: David Gow <davidgow@google.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
drivers/base/test/property-entry-test.c