summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-24 14:45:20 +0200
committerChristoph Hellwig <hch@lst.de>2020-10-07 15:44:59 +0200
commit1b0d36e81bdc52684af19f0cad9c9dca13ce4dbc (patch)
tree3185fa3f4cbf2e1f8d09087618904f9bf535191d /samples
parentsamples: configfs: drop unnecessary ternary operators (diff)
downloadlinux-1b0d36e81bdc52684af19f0cad9c9dca13ce4dbc.tar.xz
linux-1b0d36e81bdc52684af19f0cad9c9dca13ce4dbc.zip
samples: configfs: fix alignment in item struct
Aling the assignment of a static structure's field to be consistent with all other instances. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'samples')
-rw-r--r--samples/configfs/configfs_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/configfs/configfs_sample.c b/samples/configfs/configfs_sample.c
index ad3f8e1071fa..1af7cc965098 100644
--- a/samples/configfs/configfs_sample.c
+++ b/samples/configfs/configfs_sample.c
@@ -172,7 +172,7 @@ static void simple_child_release(struct config_item *item)
}
static struct configfs_item_operations simple_child_item_ops = {
- .release = simple_child_release,
+ .release = simple_child_release,
};
static const struct config_item_type simple_child_type = {