tidy up device-partial.mk