Revision 8d3a8c1e
ID | 8d3a8c1e77b0485d4335aa3733c550dc606ac819 |
openpic: Unfold read_IRQreg
The helper function read_IRQreg was always called with a specific argument on
the type of register to access. Inside the function we were simply doing a
switch on that constant argument again. It's a lot easier to just unfold this
into two separate functions and call each individually.
Reported-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Files
- added
- modified
- copied
- renamed
- deleted