Am Sonntag, 1. Dezember 2013, 15:38:40 schrieb Richard Weinberger: > On Sun, Dec 1, 2013 at 2:39 PM, Heiko Stübner <heiko@xxxxxxxxx> wrote: > > +static int hym8563_probe(struct i2c_client *client, > > + const struct i2c_device_id *id) > > +{ > > + struct hym8563 *hym8563; > > + int ret, gpio_int; > > + > > + hym8563 = devm_kzalloc(&client->dev, sizeof(hym8563), > > GFP_KERNEL); > > Shouldn't this be sizeof(*hym8563)? you're right of course, thanks for catching the missing "*", I'll send a v3 shortly. Heiko -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html