drivers/misc/mathworks: Use wrapper mathods for devm#2875
Closed
drivers/misc/mathworks: Use wrapper mathods for devm#2875
Conversation
To solve cast from 'void (*)(struct device *)' to 'devm_action_fn' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] on strict compile Signed-off-by: Jorge Marques <jorge.marques@analog.com>
e752b8e to
ed0bccb
Compare
To avoid unused warnings. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
ed0bccb to
d2196a2
Compare
ba04519 to
c8f46b8
Compare
c8f46b8 to
6f92e18
Compare
6f92e18 to
2707908
Compare
2707908 to
3ca0cc8
Compare
4d3503c to
6eee9c2
Compare
3ca0cc8 to
d2196a2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description
To solve
on strict compile
Not sure the upstream for this driver.
Note: changed base to test #2877
PR Type
PR Checklist