slimbus: fix slim_tid_txn()
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Sun, 18 Aug 2019 09:39:02 +0000 (10:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Aug 2019 10:56:10 +0000 (12:56 +0200)
commitfcaf3d933926e36a264939e6d3d3cb62b42695b8
tree459a4f24ab567d42b70817b9ada042518c46bc5e
parent04eb94d526423ff082efce61f4f26b0369d0bfdd
slimbus: fix slim_tid_txn()

fix below issue reported by coccicheck
./drivers/slimbus/slimbus.h:440:3-46: duplicated argument to && or ||

Looks like this was a typo, SLIM_MSG_MC_REQUEST_CHANGE_VALUE is command
which requires transaction ID, so fix it, this also fix the warning.

Reported-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20190818093902.29993-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/slimbus.h