GUFI: add gufi_property_read_u32() routine

For DT case of_property_read_u32() was used. In ACPI case there is no
commonly used approach to create property. Property can be created using
next methods:
 - _DSM (Device Specific Method); it' reserved for whatever a device wishes
   to use it for
 - _PRP is a new proposal from Intel that specifically addresses putting
   key = value pairs in ACPI
 - Package()
 - Name()

etc. So let us use _DSM method for now, since in our ACPI tables
_DSM is much popular for this purpose.

For example, if we want to create property with name "reg-io-width" and
value 0x2, that's how it can be done:

- In ACPI tables:

	Device (NET0) {
		Name (_HID, "LNRO0003")
		...
+		Method(_DSM, 4, Serialized) {
+			Store (Package (2)
+			{
+				"reg-io-width", "0x2",
+			}, Local0)
+
+			DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
+
+			Return (Local0)
+		}
	}

- In DTS:

		ethernet@2,02000000 {
			...
+			reg-io-width = <2>;
		};

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>
GUFI: move gufi_match_device() code to protocols

Since gufi_match_device() function contains acpi/dt dependent code
it should be broken into of_* and acpi_* pieces and moved to corresponding
protocols.

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>
GUFI: move gufi_test_match() code to protocols

gufi_test_match() doesn't contain acpi/dt dependent code for now, but it's
still better to split it between acpi/dt protocols so that new protocol can
be easily added.

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>
GUFI: move gufi_property_read_u32() code to protocols

Since gufi_property_read_u32() function contains acpi/dt dependent code
it should be broken into of_* and acpi_* pieces and moved to corresponding
protocols.

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>
GUFI: get rid of acpi/dt headers in core part

Previous commits eliminate need in hardcoding, so acpi/dt headers are not
needed anymore and can be easily removed.

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>
GUFI: fix possible memory leak in gufi_acpi_property_read_u32()

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>
net: smc91x: move matching to GUFI

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>