gpio-virtual: move to a staticically allocated class
Signed-off-by: Tal Shorer <tal.shorer@gmail.com>
gpio-virtual: fix the __vgpio_set_bit_op macro to properly use its _bit varialbe
Signed-off-by: Tal Shorer <tal.shorer@gmail.com>
gpio-virtual: added pm_runtime operations.
also fixed a MAJOR bug with the macro __vgpio_set_bit_op, where it will always
set the first bit (offset 0) of a chip if the caller supplied a variable called "bit" for _bit.
this bug can still happen if a varialbe called "__bit" is supplied for bit, but no caller has that.
Signed-off-by: Tal Shorer <tal.shorer@gmail.com>