Move master/lastSlave out of the union into separate fields.
The removal of the double-use will cause some suble bugs as some conditions to check for the dev->u.master case were broken and also evaluated as true if lastSlave was set (instead of master). Also breaks the input ABI. Signed-off-by: Peter Hutterer <email@example.com> Reviewed-by: Benjamin Tissoires <firstname.lastname@example.org>
Showing with 18 additions and 20 deletions