p1-common: init: fix code style and patterns