Peripheral-manager: Add production mode support for button

Status Job ID Name Coverage
  Static Code Analysis
failed #4047
allowed to fail
run_cpd

00:00:22

passed #4046
run_cppcheck

00:00:23

passed #4045
run_flawfinder

00:00:23

 
Name Stage Failure
failed
run_cpd Static Code Analysis
		data->button.priv = data;

button_add(&data->button);
Running after_script
+ /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
Unlinking stale socket /var/run/supervisor.sock
+ /bin/bash
Uploading artifacts for failed job
ERROR: Job failed: exit code 1