Commit feab6ba2 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jakub Kicinski
Browse files

nfc: pn533: drop unneeded braces {} in if

parent 62f64417
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -192,9 +192,8 @@ static int pn533_i2c_probe(struct i2c_client *client,
				phy, &i2c_phy_ops, NULL,
				&phy->i2c_dev->dev);

	if (IS_ERR(priv)) {
	if (IS_ERR(priv))
		return PTR_ERR(priv);
	}

	phy->priv = priv;
	r = pn532_i2c_nfc_alloc(priv, PN533_NO_TYPE_B_PROTOCOLS, &client->dev);