[PATCH 6/8] coresight: Move all sysfs code to sysfs file