Use new trigger API.
Use sr_trigger_stage_add().
fix a potential use of uninitialized variable

show.c: In function ‘show_dev_detail’:
show.c:214:11: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  char *s, c;
           ^