commit | c15ddec2ca06076a11195313aa1fce47d2a28c5d | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Tue Feb 23 18:46:25 2016 +0100 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Wed Mar 30 15:42:03 2016 +0200 |
tree | 43d14741934dc503d0f6840190b0d5406667bed4 | |
parent | 6c96f05c8bb8bc4177613ef3c23a56b455e75887 [diff] |
reset: Share struct reset_control between reset_control_get calls Now that struct reset_control no longer stores the device pointer for the device calling reset_control_get we can share a single struct reset_control when multiple calls to reset_control_get are made for the same reset line (same id / index). This is a preparation patch for adding support for shared reset lines. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>