Revert "device config"

This reverts commit 5d7318943903e3bbd2bb450995223290f5c35eb1.