diff options
author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2018-08-16 09:03:46 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-09-01 15:11:34 +0300 |
commit | 57f97e96625fe89246827ebb4d129741a4f83c40 (patch) | |
tree | de7d32e8470e0a72c7f95a8cbf45c66bc264051c /drivers/leds | |
parent | 6a516bc9d70b291d3271c6c66b89c25e3c2b5795 (diff) | |
download | linux-57f97e96625fe89246827ebb4d129741a4f83c40.tar.xz |
IB/hfi1: Get the hfi1_devdata structure as early as possible
Currently several things occur before the hfi1_devdata structure is
allocated. This leads to an inconsistent logging ability and makes
it more difficult to restructure some code paths.
Allocate (and do a minimal init) the structure as soon as possible.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Sadanand Warrier <sadanand.warrier@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions