From c30d7662d81062cbc25e5ff50be8dbaca3a1f20a Mon Sep 17 00:00:00 2001 From: Sergei Shtylyov Date: Mon, 15 Sep 2014 00:14:14 +0400 Subject: [PATCH] i2c: rcar: simplify check for last message rcar_i2c_master_xfer() needlessly compares the message pointers (using indirect addressing) in order to detect the last I2C message, while it's enough to only compare the message indexes. Signed-off-by: Sergei Shtylyov Signed-off-by: Wolfram Sang --- Reading git-format-patch failed