#ifndef __PERF_COMM_H #define __PERF_COMM_H #include "../perf.h" #include #include struct comm_str; struct comm { struct comm_str *comm_str; u64 start; struct list_head list; bool exec; union { /* Tool specific area */ void *priv; u64 db_id; }; }; void comm__free(struct comm *comm); struct comm *comm__new(const char *str, u64 timestamp, bool exec); const char *comm__str(const struct comm *comm); int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec); #endif /* __PERF_COMM_H */ tory'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiner Kallweit <heiner.kallweit@web.de>2016-09-17 15:43:31 +0200
committerMark Brown <broonie@kernel.org>2016-09-24 19:48:32 +0100
commit604042af7697314fffb16e266fd7d5ad488439cc (patch)
treee13c123f2e2dd91c55f6a7e33933da26cf04b262
parentacf692190f972ee2ed6578f30278f21c244d6148 (diff)
spi: fsl-espi: improve return value handling in fsl_espi_probe
The return value of fsl_espi_probe (currently struct spi_master *) is just used for checking whether an error occurred. Change the return value type to int and simplify the code. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>