Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de755c33 authored by SeongJae Park's avatar SeongJae Park Committed by Linus Walleij
Browse files

gpio: mcp23s08: fix casting caused build warning

parent 01d70041
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -878,7 +878,7 @@ static int mcp23s08_probe(struct spi_device *spi)

	match = of_match_device(of_match_ptr(mcp23s08_spi_of_match), &spi->dev);
	if (match) {
		type = (int)match->data;
		type = (int)(uintptr_t)match->data;
		status = of_property_read_u32(spi->dev.of_node,
			    "microchip,spi-present-mask", &spi_present_mask);
		if (status) {