p1-common: init: fix code style and patterns

Change-Id: Icf5e274a9a0407cdbe39c7f5e5b83c2cc2960933