diff options
author | Brett Creeley <brett.creeley@intel.com> | 2019-11-08 06:23:26 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-11-22 13:15:17 -0800 |
commit | 4015d11e4b9720718de7df28d25c04d08d8b6226 (patch) | |
tree | dff3fc55ea8b6e5ec0a80c6c4f2d6c402915cfc7 /include/dt-bindings/power/r8a7795-sysc.h | |
parent | 9efe35d0db84cb7189e4a2c3d6a50eefd4380ff9 (diff) |
ice: Add ice_pf_to_dev(pf) macro
We use &pf->dev->pdev all over the code. Add a simple
macro to do this for us. When multiple de-references
like this are being done add a local struct device
variable.
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/dt-bindings/power/r8a7795-sysc.h')
0 files changed, 0 insertions, 0 deletions