diff options
author | Stefan Agner <stefan@agner.ch> | 2018-06-21 16:19:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-25 21:16:27 +0800 |
commit | 3431a150fd89bc74cd2f2aaf6977cc0e278fb445 (patch) | |
tree | 807485b2a7b7490810e6e6a770d469b92580e387 /security/inode.c | |
parent | 36eb93509c45d0bdbd8d09a01ab9d857972f5963 (diff) |
usb: xhci: tegra: fix runtime PM error handling
The address-of operator will always evaluate to true. However,
power should be explicitly disabled if no power domain is used.
Remove the address-of operator.
Fixes: 58c38116c6cc ("usb: xhci: tegra: Add support for managing powergates")
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions