commit | f1b9cf39af2e56da6e432d1fec3acb6c974c2f8e | [log] [tgz] |
---|---|---|
author | Luis R. Rodriguez <mcgrof@kernel.org> | Mon Nov 20 10:23:53 2017 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 29 11:18:43 2017 +0100 |
tree | 00e369911385f24788f2ced8eee001aec8d573b6 | |
parent | c73bf7f487983087238f086a15780c1227adce3b [diff] |
firmware: use static inlines for state machine checking This will allow us to do proper typechecking on users both of values passed and return types expected. While at it, change the parameter passed to be the struct fw_priv, so we can move around the state machine variable as we see fit with these helpers. Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>