diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2018-08-30 14:50:11 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2018-09-16 12:32:17 +0200 |
commit | 9f1e44774be578fb92776add95f1fcaf8284d692 (patch) | |
tree | 33611b7c2e2da13f9493689fc0b9d97d561fe0f5 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | d12f84906bcb9384d0bf58726688fb60aac8a100 (diff) |
power: reset: at91-poweroff: do not procede if at91_shdwc is allocated
There should be only one instance of struct shdwc in the system. This is
referenced through at91_shdwc. Return in probe if at91_shdwc is already
allocated.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions