configs: don't use old sysfs path for i2c devices

The Machine.py files in skeleton hard code the sysfs path to the devices. The
hardcoded paths use the old i2c-adapter directory which is only around for old
userspace. From the Kconfig help text:

  Say Y here if you intend to run lm-sensors 3.1.1 or older, or any
  other user-space package which expects i2c adapters to be class
  devices. If you don't know, say Y.

  Symbol: I2C_COMPAT [=y]
  Type  : boolean
  Prompt: Enable compatibility bits for old user-space

Instead use /sys/bus/i2c/devices.

Fixes openbmc/openbmc#1252

Change-Id: Iaa9ef96e150084d9a605d5cab8053ddc910cfeaf
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/configs/Witherspoon.py b/configs/Witherspoon.py
index 98b9ecf..cb68e06 100644
--- a/configs/Witherspoon.py
+++ b/configs/Witherspoon.py
@@ -485,9 +485,9 @@
     0x03 : { 'class' : 'BootProgressSensor' },
     #OCC active sensors aren't in the P9 XML yet.  These are wrong.
     0xfc : { 'class' : 'OccStatusSensor',
-        'os_path' : '/sys/class/i2c-adapter/i2c-3/3-0050/online' },
+        'os_path' : '/sys/bus/i2c/devices/3-0050/online' },
     0xfd : { 'class' : 'OccStatusSensor',
-        'os_path' : '/sys/class/i2c-adapter/i2c-3/3-0051/online' },
+        'os_path' : '/sys/bus/i2c/devices/3-0051/online' },
     0x02 : { 'class' : 'OperatingSystemStatusSensor' },
     0x06 : { 'class' : 'PowerCap',
         'os_path' : '/sys/class/hwmon/hwmon3/user_powercap' },