[RFC PATCH 3/5] coresight: Move common sysfs functions into separate file.