WiringPi: Minor changes

- Fix compile warning
- Remove pwmSetMode function that is not used
- Change the name of changing drive functions
- Aggressively use of WiringPi setupCheck() function
- Move usingGpiomem variable into libodroid structure
- etc...

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I355556975cedc686885f3b91d7f1a4ec02f1e232
diff --git a/gpio/readall.c b/gpio/readall.c
index e3db3e7..1279f01 100644
--- a/gpio/readall.c
+++ b/gpio/readall.c
@@ -574,7 +574,7 @@
 			case MODEL_ODROID_XU3:
 			case MODEL_ODROID_N2:
 			case MODEL_ODROID_C4:
-				printf (" | %2d | %5s", getPadDrive(pin), pupd[getPUPD(pin)]);
+				printf (" | %2d | %5s", getDrive(pin), pupd[getPUPD(pin)]);
 				break;
 			default:
 				break;
@@ -615,7 +615,7 @@
 			case MODEL_ODROID_XU3:
 			case MODEL_ODROID_N2:
 			case MODEL_ODROID_C4:
-				printf (" | %-5s | %-2d", pupd[getPUPD(pin)], getPadDrive(pin));
+				printf (" | %-5s | %-2d", pupd[getPUPD(pin)], getDrive(pin));
 				break;
 			default:
 				break;