From 9f16778c5d0a32f264812a9bf1602b71613720b8 Mon Sep 17 00:00:00 2001 From: "Luck, Tony" Date: Thu, 4 Apr 2013 22:37:00 +0100 Subject: [PATCH] staging:iio:adt7316 Fix some 'interesting' string operations Calling memcmp() to check the value of the first byte in a string is overkill. Just use buf[0] == '1' or buf[0] != '1' as appropriate. Signed-off-by: Tony Luck Acked-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-format-patch failed