[PATCH] chardev: GPIO for SCx200 & PC-8736x: migrate file-ops to common module