diff options
author | Victor Raj <victor.raj@intel.com> | 2019-07-25 02:53:54 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-26 22:59:00 -0700 |
commit | 2935824873890de1503c0798c20833bb72a6c7c6 (patch) | |
tree | c03a24a32c0c6a550b493215b5b7873660b81f60 /drivers/rtc/rtc-ds3232.c | |
parent | 9e7a5d1746222238712df19ce9833e574d4cac8e (diff) | |
download | linux-2935824873890de1503c0798c20833bb72a6c7c6.tar.bz2 |
ice: added sibling head to parse nodes
There was a bug in the previous code which never traverses all the
children to get the first node of the requested layer. Add a sibling
head pointer to point the first node of each layer per TC. This helps
traverse easier and quicker and also removes the recursion.
Signed-off-by: Victor Raj <victor.raj@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 'drivers/rtc/rtc-ds3232.c')
0 files changed, 0 insertions, 0 deletions