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

Commit a2340be0 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
  sysfs: use sysfs_attr_init in ASUS atk0110 driver
  Documentation/HOWTO: update git home URL
  Documentation: -stable rules: upstream commit ID requirement reworded
parents 7db2ccdd a30dcb4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ process is as follows:
    Linus, usually the patches that have already been included in the
    -next kernel for a few weeks.  The preferred way to submit big changes
    is using git (the kernel's source management tool, more information
    can be found at http://git.or.cz/) but plain patches are also just
    can be found at http://git-scm.com/) but plain patches are also just
    fine.
  - After two weeks a -rc1 kernel is released it is now possible to push
    only patches that do not include new features that could affect the
+4 −5
Original line number Diff line number Diff line
@@ -18,16 +18,15 @@ Rules on what kind of patches are accepted, and which ones are not, into the
 - It cannot contain any "trivial" fixes in it (spelling changes,
   whitespace cleanups, etc).
 - It must follow the Documentation/SubmittingPatches rules.
 - It or an equivalent fix must already exist in Linus' tree.  Quote the
   respective commit ID in Linus' tree in your patch submission to -stable.
 - It or an equivalent fix must already exist in Linus' tree (upstream).


Procedure for submitting patches to the -stable tree:

 - Send the patch, after verifying that it follows the above rules, to
   stable@kernel.org.
 - To have the patch automatically included in the stable tree, add the
   the tag
   stable@kernel.org.  You must note the upstream commit ID in the changelog
   of your submission.
 - To have the patch automatically included in the stable tree, add the tag
     Cc: stable@kernel.org
   in the sign-off area. Once the patch is merged it will be applied to
   the stable tree without anything else needing to be done by the author
+4 −0
Original line number Diff line number Diff line
@@ -1169,15 +1169,19 @@ static int atk_create_files(struct atk_data *data)
	int err;

	list_for_each_entry(s, &data->sensor_list, list) {
		sysfs_attr_init(&s->input_attr.attr);
		err = device_create_file(data->hwmon_dev, &s->input_attr);
		if (err)
			return err;
		sysfs_attr_init(&s->label_attr.attr);
		err = device_create_file(data->hwmon_dev, &s->label_attr);
		if (err)
			return err;
		sysfs_attr_init(&s->limit1_attr.attr);
		err = device_create_file(data->hwmon_dev, &s->limit1_attr);
		if (err)
			return err;
		sysfs_attr_init(&s->limit2_attr.attr);
		err = device_create_file(data->hwmon_dev, &s->limit2_attr);
		if (err)
			return err;