Skip to contentSkip to conversation

i2c: drivers: Remove superfluous error messages

PATCH Markus Elfring 1 participant 1 message May 4, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

The function platform_get_irq can log an error by itself. This omit a redundant message for exception handling in the calling function.

I propose to avoid a typo in a word of this change description.

Quoted 1 line

Suggested by Coccinelle.

Can an information like the following be more helpful?

Generated by: scripts/coccinelle/api/platform_get_irq.cocci

I observe that a command like “make COCCI=… M=drivers/i2c/busses/ coccicheck” points only three source files out for further considerations
according to such a known transformation pattern in the software “Linux next-20200504”.

Regards,
Markus