Commit 9410685c authored by Lucas Stankus's avatar Lucas Stankus Committed by Jonathan Cameron
Browse files

staging: iio: cdc: ad7746: remove ordinary comments



Remove ordinary comments about typical driver structure.
Also align one comment with wrong indentation.

Signed-off-by: default avatarLucas Stankus <lucas.p.stankus@gmail.com>
Link: https://lore.kernel.org/r/e93e5efb19cee53546a339c1caf1ab344e9ff282.1621786036.git.lucas.p.stankus@gmail.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 09f75a2b
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
@@ -82,10 +82,6 @@
#define AD7746_CAPDAC_DACEN		BIT(7)
#define AD7746_CAPDAC_DACP(x)		((x) & 0x7F)

/*
 * struct ad7746_chip_info - chip specific information
 */

struct ad7746_chip_info {
	struct i2c_client *client;
	struct mutex lock; /* protect sensor state */
@@ -667,10 +663,6 @@ static const struct iio_info ad7746_info = {
	.write_raw = ad7746_write_raw,
};

/*
 * device probe and remove
 */

static int ad7746_probe(struct i2c_client *client,
			const struct i2c_device_id *id)
{