diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-08 10:38:07 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-09 04:06:30 -0500 |
commit | 427d204c86e095bb91eb8af381bd90a48376a860 (patch) | |
tree | cad99da44af0b758fb5d8055317ac36872179354 /include/trace | |
parent | 6cc79294efefde2593eaf72effebc8b1cc71d5ac (diff) |
ASoC: Remove snd_soc_cache_sync() implementation
This function has no more non regmap user, which means we can remove the
implementation of the function and associated functions and structure
fields.
For convenience we keep a static inline version of the function that
forwards calls to regcache_sync() unconditionally.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/asoc.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index b04ee7e5a466..88cf39d96d0f 100644 --- a/include/trace/events/asoc.h +++ b/include/trace/events/asoc.h | |||
@@ -288,31 +288,6 @@ TRACE_EVENT(snd_soc_jack_notify, | |||
288 | TP_printk("jack=%s %x", __get_str(name), (int)__entry->val) | 288 | TP_printk("jack=%s %x", __get_str(name), (int)__entry->val) |
289 | ); | 289 | ); |
290 | 290 | ||
291 | TRACE_EVENT(snd_soc_cache_sync, | ||
292 | |||
293 | TP_PROTO(struct snd_soc_codec *codec, const char *type, | ||
294 | const char *status), | ||
295 | |||
296 | TP_ARGS(codec, type, status), | ||
297 | |||
298 | TP_STRUCT__entry( | ||
299 | __string( name, codec->component.name) | ||
300 | __string( status, status ) | ||
301 | __string( type, type ) | ||
302 | __field( int, id ) | ||
303 | ), | ||
304 | |||
305 | TP_fast_assign( | ||
306 | __assign_str(name, codec->component.name); | ||
307 | __assign_str(status, status); | ||
308 | __assign_str(type, type); | ||
309 | __entry->id = codec->component.id; | ||
310 | ), | ||
311 | |||
312 | TP_printk("codec=%s.%d type=%s status=%s", __get_str(name), | ||
313 | (int)__entry->id, __get_str(type), __get_str(status)) | ||
314 | ); | ||
315 | |||
316 | #endif /* _TRACE_ASOC_H */ | 291 | #endif /* _TRACE_ASOC_H */ |
317 | 292 | ||
318 | /* This part must be outside protection */ | 293 | /* This part must be outside protection */ |